summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-29 22:00:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-30 00:36:10 +0300
commit6fcbad4dc14b65acde858781cb0b0be1e9df9436 (patch)
tree22a555d054fc28f59477f91287df1a513c10b91a /src/localconsts.h
parentb59601f599e84ed3b271a15ae4033f44e2c55763 (diff)
downloadplus-6fcbad4dc14b65acde858781cb0b0be1e9df9436.tar.gz
plus-6fcbad4dc14b65acde858781cb0b0be1e9df9436.tar.bz2
plus-6fcbad4dc14b65acde858781cb0b0be1e9df9436.tar.xz
plus-6fcbad4dc14b65acde858781cb0b0be1e9df9436.zip
Fix code style.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index b01718d92..61d1e0531 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -28,10 +28,15 @@
#ifdef __GNUC__
#define A_UNUSED __attribute__ ((unused))
+# ifdef __clang__
+# define gnu_printf printf
+# endif
#else
#define A_UNUSED
+#define gnu_printf printf
#endif
+
//#define DEBUG_CONFIG 1
//#define DEBUG_BIND_TEXTURE 1
//#define DISABLE_RESOURCE_CACHING 1