From d72a0b5c618a37b70ba4d111b457deefad8f025f Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 27 Dec 2012 13:37:20 +0200 Subject: Check for __GNUC__ instead of GCC in sources We still have checks for $(COM) being GCC or MSC in makefiles, of course. But there is no reason to pass -D$(COM) to compilations. Checking the built-in compiler-specific macros __GNUC__, _MSC_VER (etc) is the right thing to do. Change-Id: Ia961a29ba74e2c4977e5300a92318f38104c6592 --- rsc/source/prj/gui.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rsc/source/prj') diff --git a/rsc/source/prj/gui.cxx b/rsc/source/prj/gui.cxx index 2c7ff3c29426..135c655a717a 100644 --- a/rsc/source/prj/gui.cxx +++ b/rsc/source/prj/gui.cxx @@ -31,7 +31,7 @@ static RscCompiler * pRscCompiler = NULL; /* */ /* Description : Gibt die Temporaeren Dateien frei. */ /****************************************************************/ -#if defined( UNX ) || defined ( GCC ) || defined(__MINGW32__) +#if defined( UNX ) || defined ( __GNUC__ ) || defined(__MINGW32__) void ExitProgram( void ){ #else void cdecl ExitProgram( void ){ -- cgit