|
|
commit c8bb2a35850be7c6eaec5ad5a2936a77f7913de2
Author: Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Tue Dec 21 01:48:14 2021 +0100
Commit: Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Tue Dec 21 01:48:14 2021 +0100
Add header guards to source files of FL/fl_config.h
There are two "source files", one for configure and one for CMake,
respectively.
fl_config.cmake.in | 5 +++++
fl_config.in | 4 ++++
2 files changed, 9 insertions(+)
diff --git fl_config.cmake.in fl_config.cmake.in
index 3e321e9..1a83890 100644
--- fl_config.cmake.in
+++ fl_config.cmake.in
@@ -1,3 +1,4 @@
+/* FL/fl_config.h. Generated from fl_config.cmake.in by CMake. */
/*
* Build configuration file for the Fast Light Tool Kit (FLTK).
*
@@ -14,6 +15,8 @@
* https://www.fltk.org/bugs.php
*/
+#ifndef _FL_fl_config_h_
+#define _FL_fl_config_h_
/*
* FL_ABI_VERSION (ABI version):
@@ -51,3 +54,5 @@
*/
#cmakedefine FLTK_USE_X11 1
+
+#endif /* _FL_fl_config_h_ */
diff --git fl_config.in fl_config.in
index 5a25901..477f91f 100644
--- fl_config.in
+++ fl_config.in
@@ -14,6 +14,8 @@
* https://www.fltk.org/bugs.php
*/
+#ifndef _FL_fl_config_h_
+#define _FL_fl_config_h_
/*
* FL_ABI_VERSION (ABI version)
@@ -51,3 +53,5 @@
*/
#undef FLTK_USE_X11
+
+#endif /* _FL_fl_config_h_ */
[ Direct Link to Message ] | |
|
| |