diff options
Diffstat (limited to 'luaconf.h')
-rw-r--r-- | luaconf.h | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.107 2009/07/15 17:26:14 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.108 2009/07/15 17:57:30 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 | */ |
@@ -667,14 +667,18 @@ union luai_Cast { double l_d; long l_l; }; | |||
667 | 667 | ||
668 | 668 | ||
669 | /* | 669 | /* |
670 | @@ LUA_STRFTIMEOPTIONS is the list of valid conversion specifier | 670 | @@ LUA_STRFTIMEOPTIONS is the list of valid conversion specifiers |
671 | @* characters for the 'strftime' function; | 671 | @* for the 'strftime' function; |
672 | @@ LUA_STRFTIMEPREFIX is the list of valid modifiers for | 672 | ** CHANGE it if you want to use non-ansi options specific to your system. |
673 | @* that function. | ||
674 | ** CHANGE them if you want to use non-ansi options specific to your system. | ||
675 | */ | 673 | */ |
676 | #define LUA_STRFTIMEOPTIONS "aAbBcdHIjmMpSUwWxXyYz%" | 674 | #if !defined(LUA_USE_POSIX) |
677 | #define LUA_STRFTIMEPREFIX "" | 675 | #define LUA_STRFTIMEOPTIONS "aAbBcdHIjmMpSUwWxXyYz%", "" |
676 | |||
677 | #else | ||
678 | #define LUA_STRFTIMEOPTIONS "aAbBcCdDeFgGhHIjmMnprRStTuUVwWxXyYzZ%", "", \ | ||
679 | "E", "cCxXyY", \ | ||
680 | "O", "deHImMSuUVwWy" | ||
681 | #endif | ||
678 | 682 | ||
679 | 683 | ||
680 | 684 | ||