aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/util
diff options
context:
space:
mode:
authorChristoph Mallon2012-03-15 10:16:45 +0100
committerJohannes Schickel2012-03-17 20:09:49 +0100
commita64b5e2a778333916d6f4b47dc679eba6d34be09 (patch)
treede9cd6197d3bdafc31705b3f2370cb4dd51c2d15 /engines/sword25/util
parent757fa01a28163031a6429189e06e45bfa00a2122 (diff)
downloadscummvm-rg350-a64b5e2a778333916d6f4b47dc679eba6d34be09.tar.gz
scummvm-rg350-a64b5e2a778333916d6f4b47dc679eba6d34be09.tar.bz2
scummvm-rg350-a64b5e2a778333916d6f4b47dc679eba6d34be09.zip
ALL: Use GCC_ATLEAST().
Diffstat (limited to 'engines/sword25/util')
-rw-r--r--engines/sword25/util/lua/luaconf.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sword25/util/lua/luaconf.h b/engines/sword25/util/lua/luaconf.h
index 38ff9e1320..53d0f55290 100644
--- a/engines/sword25/util/lua/luaconf.h
+++ b/engines/sword25/util/lua/luaconf.h
@@ -182,8 +182,7 @@
#define LUAI_FUNC static
#define LUAI_DATA /* empty */
-#elif defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 302) && \
- defined(__ELF__) && !defined(__PLAYSTATION2__)
+#elif GCC_ATLEAST(3, 2) && defined(__ELF__) && !defined(__PLAYSTATION2__)
/*
** The PS2 gcc compiler doesn't like the visibility attribute, so
** we use the normal "extern" definitions in the block below