From cd35f3b384b645d171de49eee555363d4b2acc94 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Mon, 3 Aug 2009 13:58:52 +0100 Subject: [PATCH] [debug] Fix __GNUC__ typo The right gcc define is __GNUC__ not __GNUC_. This typo had the side effect that we were using the non gcc specific debug macros leading to a less optmised CLUTTER_NOTE () than one could have dreamed of. --- clutter/clutter-debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-debug.h b/clutter/clutter-debug.h index 42fe7a8bb..77ee9674e 100644 --- a/clutter/clutter-debug.h +++ b/clutter/clutter-debug.h @@ -28,7 +28,7 @@ typedef enum { #ifdef CLUTTER_ENABLE_DEBUG -#ifdef __GNUC_ +#ifdef __GNUC__ #define CLUTTER_NOTE(type,x,a...) G_STMT_START { \ if (clutter_debug_flags & CLUTTER_DEBUG_##type) \ { g_message ("[" #type "] " G_STRLOC ": " x, ##a); } \