From 2c0bd426fcd2d965ca5f84fde893719ddfc4c37f Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 17 Mar 2012 21:23:42 +0100 Subject: COMMON: Use defined() instead of defined in preprocessor macros. Thanks to clone2727 for noticing this. --- common/scummsys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/scummsys.h b/common/scummsys.h index 9cac6641c1..161613b296 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -25,7 +25,7 @@ // This is a convenience macro to test whether the compiler used is a GCC // version, which is at least major.minor. -#define GCC_ATLEAST(major, minor) (defined __GNUC__ && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) +#define GCC_ATLEAST(major, minor) (defined(__GNUC__) && (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))) #if defined(_WIN32_WCE) && _WIN32_WCE < 300 #define NONSTANDARD_PORT -- cgit v1.2.3