diff options
| -rw-r--r-- | loslib.c | 4 | ||||
| -rw-r--r-- | luaconf.h | 4 |
2 files changed, 4 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: loslib.c,v 1.36 2011/11/29 15:55:51 roberto Exp roberto $ | 2 | ** $Id: loslib.c,v 1.37 2011/11/29 17:15:42 roberto Exp roberto $ |
| 3 | ** Standard Operating System library | 3 | ** Standard Operating System library |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -62,7 +62,7 @@ | |||
| 62 | ** By default, Lua uses gmtime/localtime, except when POSIX is available, | 62 | ** By default, Lua uses gmtime/localtime, except when POSIX is available, |
| 63 | ** where it uses gmtime_r/localtime_r | 63 | ** where it uses gmtime_r/localtime_r |
| 64 | */ | 64 | */ |
| 65 | #if defined(lUA_USE_GMTIME_R) | 65 | #if defined(LUA_USE_GMTIME_R) |
| 66 | 66 | ||
| 67 | #define l_gmtime(t,r) gmtime_r(t,r) | 67 | #define l_gmtime(t,r) gmtime_r(t,r) |
| 68 | #define l_localtime(t,r) localtime_r(t,r) | 68 | #define l_localtime(t,r) localtime_r(t,r) |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: luaconf.h,v 1.167 2011/11/25 12:52:27 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.168 2011/11/29 17:15: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 | */ |
| @@ -70,7 +70,7 @@ | |||
| 70 | #define LUA_USE_ISATTY | 70 | #define LUA_USE_ISATTY |
| 71 | #define LUA_USE_POPEN | 71 | #define LUA_USE_POPEN |
| 72 | #define LUA_USE_ULONGJMP | 72 | #define LUA_USE_ULONGJMP |
| 73 | #define lUA_USE_GMTIME_R | 73 | #define LUA_USE_GMTIME_R |
| 74 | #endif | 74 | #endif |
| 75 | 75 | ||
| 76 | 76 | ||
