projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94b35a4
)
[debug] Fix __GNUC__ typo
author
Damien Lespiau
<damien.lespiau@intel.com>
Mon, 3 Aug 2009 12:58:52 +0000
(13:58 +0100)
committer
Damien Lespiau
<damien.lespiau@intel.com>
Mon, 3 Aug 2009 13:25:09 +0000
(14:25 +0100)
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
patch
|
blob
|
history
diff --git
a/clutter/clutter-debug.h
b/clutter/clutter-debug.h
index
42fe7a8
..
77ee967
100644
(file)
--- 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); } \