diff options
-rw-r--r-- | luaconf.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.96 2008/02/11 19:17:19 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.97 2008/04/07 18:58:42 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 | */ |
@@ -182,7 +182,11 @@ | |||
182 | @* be exported to outside modules. | 182 | @* be exported to outside modules. |
183 | ** CHANGE them if you need to mark them in some special way. Elf/gcc | 183 | ** CHANGE them if you need to mark them in some special way. Elf/gcc |
184 | ** (versions 3.2 and later) mark them as "hidden" to optimize access | 184 | ** (versions 3.2 and later) mark them as "hidden" to optimize access |
185 | ** when Lua is compiled as a shared library. | 185 | ** when Lua is compiled as a shared library. Not all elf targets support |
186 | ** this attribute. Unfortunately, gcc does not offer a way to check | ||
187 | ** whether the target offers that support, and those without support | ||
188 | ** give a warning about it. To avoid these warnings, change to the | ||
189 | ** default definition. | ||
186 | */ | 190 | */ |
187 | #if defined(luaall_c) | 191 | #if defined(luaall_c) |
188 | #define LUAI_FUNC static | 192 | #define LUAI_FUNC static |