File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed
Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change 3030*/
3131#if !defined(LUA_STRFTIMEOPTIONS ) /* { */
3232
33- /* options for ANSI C 89 (only 1-char options) */
34- #define L_STRFTIMEC89 "aAbBcdHIjmMpSUwWxXyYZ%"
35-
36- /* options for ISO C 99 and POSIX */
37- #define L_STRFTIMEC99 "aAbBcCdDeFgGhHIjmMnprRStTuUVwWxXyYzZ%" \
38- "||" "EcECExEXEyEY" "OdOeOHOIOmOMOSOuOUOVOwOWOy" /* two-char options */
39-
40- /* options for Windows */
41- #define L_STRFTIMEWIN "aAbBcdHIjmMpSUwWxXyYzZ%" \
42- "||" "#c#x#d#H#I#j#m#M#S#U#w#W#y#Y" /* two-char options */
43-
4433#if defined(LUA_USE_WINDOWS )
45- #define LUA_STRFTIMEOPTIONS L_STRFTIMEWIN
46- #elif defined(LUA_USE_C89 )
47- #define LUA_STRFTIMEOPTIONS L_STRFTIMEC89
34+ #define LUA_STRFTIMEOPTIONS "aAbBcdHIjmMpSUwWxXyYzZ%" \
35+ "||" "#c#x#d#H#I#j#m#M#S#U#w#W#y#Y" /* two-char options */
36+ #elif defined(LUA_USE_C89 ) /* ANSI C 89 (only 1-char options) */
37+ #define LUA_STRFTIMEOPTIONS "aAbBcdHIjmMpSUwWxXyYZ%"
4838#else /* C99 specification */
49- #define LUA_STRFTIMEOPTIONS L_STRFTIMEC99
39+ #define LUA_STRFTIMEOPTIONS "aAbBcCdDeFgGhHIjmMnprRStTuUVwWxXyYzZ%" \
40+ "||" "EcECExEXEyEY" "OdOeOHOIOmOMOSOuOUOVOwOWOy" /* two-char options */
5041#endif
5142
5243#endif /* } */
You can’t perform that action at this time.
0 commit comments