aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorNorbert Lange2009-09-11 12:58:08 +0000
committerNorbert Lange2009-09-11 12:58:08 +0000
commit75aafd9c337684d707b27456cd98a2e8ecc3507d (patch)
tree6c9ea34ee41dbc5d563ae7efaa738208743477b5 /common
parent4fc8fe80239ba18a6406fc2349b0932c6ea6d87c (diff)
downloadscummvm-rg350-75aafd9c337684d707b27456cd98a2e8ecc3507d.tar.gz
scummvm-rg350-75aafd9c337684d707b27456cd98a2e8ecc3507d.tar.bz2
scummvm-rg350-75aafd9c337684d707b27456cd98a2e8ecc3507d.zip
fix duplicate definition of FORCEINLINE on mingw toolchains
svn-id: r44033
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 bdb11344bc..2191211afe 100644
--- a/common/scummsys.h
+++ b/common/scummsys.h
@@ -383,7 +383,7 @@
#define PACKED_STRUCT __attribute__((__packed__))
#define GCC_PRINTF(x,y) __attribute__((__format__(printf, x, y)))
- #if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
+ #if !defined(FORCEINLINE) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
#define FORCEINLINE __attribute__((__always_inline__)) inline
#endif
#else