diff options
Diffstat (limited to 'src/localconsts.h')
-rw-r--r-- | src/localconsts.h | 5 |
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 |