Skip to content

Commit

Permalink
COMMON: Use defined() instead of defined in preprocessor macros.
Browse files Browse the repository at this point in the history
Thanks to clone2727 for noticing this.
  • Loading branch information
Johannes Schickel committed Mar 17, 2012
1 parent a64b5e2 commit 2c0bd42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/scummsys.h
Expand Up @@ -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
Expand Down

0 comments on commit 2c0bd42

Please sign in to comment.