aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJohannes Schickel2012-03-17 21:23:42 +0100
committerJohannes Schickel2012-03-17 21:23:42 +0100
commit2c0bd426fcd2d965ca5f84fde893719ddfc4c37f (patch)
tree8bcbf5533b900680a8df456e2db304f275058e85 /common
parenta64b5e2a778333916d6f4b47dc679eba6d34be09 (diff)
downloadscummvm-rg350-2c0bd426fcd2d965ca5f84fde893719ddfc4c37f.tar.gz
scummvm-rg350-2c0bd426fcd2d965ca5f84fde893719ddfc4c37f.tar.bz2
scummvm-rg350-2c0bd426fcd2d965ca5f84fde893719ddfc4c37f.zip
COMMON: Use defined() instead of defined in preprocessor macros.
Thanks to clone2727 for noticing this.
Diffstat (limited to 'common')
-rw-r--r--common/scummsys.h2
1 files changed, 1 insertions, 1 deletions
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