From 1f3838b15552e38f3c7943e5622ff5ce09ada7fa Mon Sep 17 00:00:00 2001 From: torsten Date: Thu, 20 Aug 2009 15:24:32 +0000 Subject: [PATCH] Alan Teeder: fix incomplete dbg_printf for non-gcc. --- simgear/screen/RenderTexture.cpp | 2 +- simgear/screen/TestRenderTexture.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/simgear/screen/RenderTexture.cpp b/simgear/screen/RenderTexture.cpp index 8451757c..0b2b6359 100644 --- a/simgear/screen/RenderTexture.cpp +++ b/simgear/screen/RenderTexture.cpp @@ -85,7 +85,7 @@ const char * get_attr_name( int val, int * pdef ); #if defined (__GNUC__) #define dbg_printf(format,args...) ((void)0) #else // defined (__GNUC__) -#define dbg_printf( +#define dbg_printf #endif // defined (__GNUC__) #endif // defined (_DEBUG) diff --git a/simgear/screen/TestRenderTexture.cpp b/simgear/screen/TestRenderTexture.cpp index 1e17c3dd..615c2291 100644 --- a/simgear/screen/TestRenderTexture.cpp +++ b/simgear/screen/TestRenderTexture.cpp @@ -37,7 +37,7 @@ const char * get_attr_name( int val, int * pdef ); #if defined (__GNUC__) #define dbg_printf(format,args...) ((void)0) #else // defined (__GNUC__) -#define dbg_printf( +#define dbg_printf #endif // defined (__GNUC__) #endif // defined (_DEBUG)