[Scummvm-cvs-logs] scummvm master -> 2c0bd426fcd2d965ca5f84fde893719ddfc4c37f
lordhoto
lordhoto at gmail.com
Sat Mar 17 21:24:38 CET 2012
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
2c0bd426fc COMMON: Use defined() instead of defined in preprocessor macros.
Commit: 2c0bd426fcd2d965ca5f84fde893719ddfc4c37f
https://github.com/scummvm/scummvm/commit/2c0bd426fcd2d965ca5f84fde893719ddfc4c37f
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2012-03-17T13:23:42-07:00
Commit Message:
COMMON: Use defined() instead of defined in preprocessor macros.
Thanks to clone2727 for noticing this.
Changed paths:
common/scummsys.h
diff --git a/common/scummsys.h b/common/scummsys.h
index 9cac664..161613b 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
More information about the Scummvm-git-logs
mailing list