From a64b5e2a778333916d6f4b47dc679eba6d34be09 Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Thu, 15 Mar 2012 10:16:45 +0100 Subject: ALL: Use GCC_ATLEAST(). --- engines/sword25/util/lua/luaconf.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/sword25/util') 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 -- cgit v1.2.3