[glib] Set GLIB_VERSION_MAX_ALLOWED to GLIB_VERSION_CUR_STABLE by default



commit 1b29ea3663501a407b82d83792d47d0941df13b2
Author: Xavier Claessens <xavier claessens collabora co uk>
Date:   Tue May 8 16:49:53 2012 +0200

    Set GLIB_VERSION_MAX_ALLOWED to GLIB_VERSION_CUR_STABLE by default

 glib/gversionmacros.h |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/glib/gversionmacros.h b/glib/gversionmacros.h
index e075582..d18b8eb 100644
--- a/glib/gversionmacros.h
+++ b/glib/gversionmacros.h
@@ -140,11 +140,7 @@
  * Since: 2.32
  */
 #ifndef GLIB_VERSION_MAX_ALLOWED
-# if GLIB_VERSION_MIN_REQUIRED > GLIB_VERSION_PREV_STABLE
-#  define GLIB_VERSION_MAX_ALLOWED      GLIB_VERSION_MIN_REQUIRED
-# else
-#  define GLIB_VERSION_MAX_ALLOWED      GLIB_VERSION_CUR_STABLE
-# endif
+# define GLIB_VERSION_MAX_ALLOWED      GLIB_VERSION_CUR_STABLE
 #endif
 
 /* sanity checks */



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