diff options
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.97 2008/04/07 18:58:42 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.98 2008/06/25 15:27:12 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 | */ |
@@ -324,6 +324,14 @@ | |||
324 | 324 | ||
325 | 325 | ||
326 | /* | 326 | /* |
327 | @@ LUA_COMPAT includes some macros and functions that supply some | ||
328 | @* compatibility with previous versions. | ||
329 | ** CHANGE it (undefine it) if you do not need these compatibility facilities. | ||
330 | */ | ||
331 | #define LUA_COMPAT | ||
332 | |||
333 | |||
334 | /* | ||
327 | @@ LUA_COMPAT_VARARG controls compatibility with old vararg feature. | 335 | @@ LUA_COMPAT_VARARG controls compatibility with old vararg feature. |
328 | ** CHANGE it to undefined as soon as your programs use only '...' to | 336 | ** CHANGE it to undefined as soon as your programs use only '...' to |
329 | ** access vararg parameters (instead of the old 'arg' table). | 337 | ** access vararg parameters (instead of the old 'arg' table). |