[glibmm/glibmm-2-44] docs: Define G_OS_UNIX and G_OS_WIN32 unconditionally



commit e451073c74ec72d6d54a9177fed14c874147ff1c
Author: Daniel Elstner <daniel kitta gmail com>
Date:   Fri Aug 21 14:55:26 2015 +0200

    docs: Define G_OS_UNIX and G_OS_WIN32 unconditionally
    
    * docs/reference/Doxyfile.in (PREDEFINED): Always define both
    G_OS_UNIX and G_OS_WIN32, so that the generated documentation
    covers all platforms.

 docs/reference/Doxyfile.in |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/docs/reference/Doxyfile.in b/docs/reference/Doxyfile.in
index 55f7c97..369f9b6 100644
--- a/docs/reference/Doxyfile.in
+++ b/docs/reference/Doxyfile.in
@@ -1,11 +1,5 @@
+## @configure_input@
 # Doxyfile 1.8.3
-# @configure_input@
-
-# When Doxyfile.in is updated with 'doxygen -s -u Doxyfile.in' some lines
-# will be distorted or removed, and must be manually restored.
-# - These comment lines, including the configure_input line.
-# - The lines with HOST_WINDOWS_NATIVE_[FALSE|TRUE].
-# (True of Doxygen 1.8.3. Don't know how future releases will behave.)
 
 #---------------------------------------------------------------------------
 # Project related configuration options
@@ -288,6 +282,8 @@ PREDEFINED             = __cplusplus \
                          "G_GNUC_NORETURN=" \
                          "G_GNUC_NULL_TERMINATED=" \
                          "G_GNUC_PURE=" \
+                         G_OS_UNIX \
+                         G_OS_WIN32 \
                          "GLIBMM_API=" \
                          "GIOMM_API=" \
                          GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED \
@@ -295,8 +291,6 @@ PREDEFINED             = __cplusplus \
                          GLIBMM_HAVE_WIDE_STREAM \
                          GLIBMM_PROPERTIES_ENABLED \
                          GLIBMM_VFUNCS_ENABLED
- HOST_WINDOWS_NATIVE_FALSE@PREDEFINED += G_OS_UNIX
- HOST_WINDOWS_NATIVE_TRUE@PREDEFINED += G_OS_WIN32
 EXPAND_AS_DEFINED      = GLIBMM_MAJOR_VERSION \
                          GLIBMM_MINOR_VERSION \
                          GLIBMM_MICRO_VERSION \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]