[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.
This commit is contained in:
Damien Lespiau 2009-08-03 13:58:52 +01:00
parent 94b35a4a5e
commit cd35f3b384

View File

@ -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); } \