[clutter] macros: Add fallback defines for non-GCC compilers

commit 332aa3cf215aa6b4c86565f589f01a4b4ac7e362
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sat Jul 11 23:58:12 2015 +0100

    macros: Add fallback defines for non-GCC compilers
    I forgot to add the fallback definitions in case we're not using GCC;
    without them, anybody using non-GCC compilers will get a build error.

 clutter/clutter-macros.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/clutter/clutter-macros.h b/clutter/clutter-macros.h
index 3492699..7a0d0b1 100644
--- a/clutter/clutter-macros.h
+++ b/clutter/clutter-macros.h
@@ -100,6 +100,9 @@
 #define _CLUTTER_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x))
 #define _CLUTTER_DEPRECATED_MACRO _CLUTTER_GNUC_DO_PRAGMA(GCC warning "Deprecated macro")
 /* these macros are used to mark deprecated functions, and thus have to be

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