mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
[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:
parent
94b35a4a5e
commit
cd35f3b384
@ -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); } \
|
||||
|
Loading…
Reference in New Issue
Block a user