[glibmm] Define GLIBMM_USING_STD() as dummy no-op



commit 879059f5fee9940183667dbdd955db8c7fddc8f3
Author: Daniel Elstner <daniel kitta gmail com>
Date:   Sun Aug 16 23:03:12 2009 +0200

    Define GLIBMM_USING_STD() as dummy no-op
    
    * glib/glibmmconfig.h.in (GLIBMM_USING_STD): Resurrect macro
    for backwards compatibility, but unconditionally define it to
    the empty expansion.

 ChangeLog              |    8 ++++++++
 glib/glibmmconfig.h.in |    4 ++++
 2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 09c5a58..ffe8f9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2009-08-16  Daniel Elstner  <daniel kitta gmail com>
 
+	Define GLIBMM_USING_STD() as dummy no-op
+
+	* glib/glibmmconfig.h.in (GLIBMM_USING_STD): Resurrect macro
+	for backwards compatibility, but unconditionally define it to
+	the empty expansion.
+
+2009-08-16  Daniel Elstner  <daniel kitta gmail com>
+
 	Define GLIBMM_BUILD and GIOMM_BUILD
 
 	* glib/glibmm/Makefile.am (local_cppflags): Add -DGLIBMM_BUILD=1.
diff --git a/glib/glibmmconfig.h.in b/glib/glibmmconfig.h.in
index 502dccb..3cda2f9 100644
--- a/glib/glibmmconfig.h.in
+++ b/glib/glibmmconfig.h.in
@@ -110,6 +110,10 @@
 # pragma warning (disable: 4786 4355 4800 4181)
 #endif
 
+/* Dummy macro definition for compatibility with old code that expects
+ * it to be defined.  Remove after grace period. */
+#define GLIBMM_USING_STD(Symbol)
+
 /* Enable DLL-specific stuff only when not building a static library */
 #if !defined(__CYGWIN__) && defined(__MINGW32__) && !defined(GLIBMM_STATIC_LIB)
 # define GLIBMM_DLL 1



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