[glibmm] Restore unintended change.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Restore unintended change.
- Date: Wed, 23 Nov 2011 12:49:57 +0000 (UTC)
commit c1d9cf221340144d9ba9597ce3fb1aef83b54eae
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Nov 23 13:49:51 2011 +0100
Restore unintended 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]