[glibmm/c++11] Revert an unintentional commit change



commit faed34a714d9c4cc5cb0fe4fb522ad206f7e8760
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Jun 27 11:20:16 2013 +0200

    Revert an unintentional commit change

 glib/glibmm/utility.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/glibmm/utility.h b/glib/glibmm/utility.h
index abb4535..723418d 100644
--- a/glib/glibmm/utility.h
+++ b/glib/glibmm/utility.h
@@ -30,7 +30,7 @@
  * GLIBMM_INITIALIZE_STRUCT(Var, Type) is provided.  It even avoids creating
  * a temporary if the compiler is GCC.
  */
-#if ((__GNUC__ >= 3) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96))
+#if ((__GNUC__ >= 3) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)) && !defined(__STRICT_ANSI__)
 
 #define GLIBMM_INITIALIZE_STRUCT(Var, Type) __builtin_memset(&(Var), 0, sizeof(Type))
 


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