aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-29 10:53:59 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-29 10:53:59 -0300
commit8e696dd14af4ff306db936dacae351dc4c5964b5 (patch)
tree0b2caf7cda3ea5ee934880401a0d34779462dfb4 /luaconf.h
parentc3939f5786c434b68776dca507ba052046d17781 (diff)
downloadlua-8e696dd14af4ff306db936dacae351dc4c5964b5.tar.gz
lua-8e696dd14af4ff306db936dacae351dc4c5964b5.tar.bz2
lua-8e696dd14af4ff306db936dacae351dc4c5964b5.zip
detail
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/luaconf.h b/luaconf.h
index 8b25f23b..c9077ab0 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.44 2005/04/25 19:24:10 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.45 2005/04/27 18:37:51 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -124,7 +124,9 @@
124** them as "hidden" to optimize their call when Lua is compiled as a 124** them as "hidden" to optimize their call when Lua is compiled as a
125** shared library. 125** shared library.
126*/ 126*/
127#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 302) 127#if defined(luaall_c)
128#define LUAI_FUNC static
129#elif defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 302)
128#define LUAI_FUNC __attribute__((visibility("hidden"))) 130#define LUAI_FUNC __attribute__((visibility("hidden")))
129#else 131#else
130#define LUAI_FUNC extern 132#define LUAI_FUNC extern