aboutsummaryrefslogtreecommitdiff
path: root/loslib.c
diff options
context:
space:
mode:
authorRoberto I <roberto@inf.puc-rio.br>2025-09-05 15:36:47 -0300
committerRoberto I <roberto@inf.puc-rio.br>2025-09-05 15:36:47 -0300
commit9ea06e61f20ae34974226074fc6123dbb54a07c2 (patch)
treefe3333a7b89490be71b26047a5bc2d836113bf72 /loslib.c
parentffbcadfb4197213d55222bca3ecc52606cd980f4 (diff)
downloadlua-9ea06e61f20ae34974226074fc6123dbb54a07c2.tar.gz
lua-9ea06e61f20ae34974226074fc6123dbb54a07c2.tar.bz2
lua-9ea06e61f20ae34974226074fc6123dbb54a07c2.zip
Details
- LUAMOD_API defined as 'extern "C"' in C++. - "ANSI C" is in fact "ISO C" (comments) - Removed option -std from makefile in testes/libs. (Easier to change to C++ for tests).
Diffstat (limited to 'loslib.c')
-rw-r--r--loslib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loslib.c b/loslib.c
index 3f605028..b7a2b0d1 100644
--- a/loslib.c
+++ b/loslib.c
@@ -34,7 +34,7 @@
34#if defined(LUA_USE_WINDOWS) 34#if defined(LUA_USE_WINDOWS)
35#define LUA_STRFTIMEOPTIONS "aAbBcdHIjmMpSUwWxXyYzZ%" \ 35#define LUA_STRFTIMEOPTIONS "aAbBcdHIjmMpSUwWxXyYzZ%" \
36 "||" "#c#x#d#H#I#j#m#M#S#U#w#W#y#Y" /* two-char options */ 36 "||" "#c#x#d#H#I#j#m#M#S#U#w#W#y#Y" /* two-char options */
37#elif defined(LUA_USE_C89) /* ANSI C 89 (only 1-char options) */ 37#elif defined(LUA_USE_C89) /* C89 (only 1-char options) */
38#define LUA_STRFTIMEOPTIONS "aAbBcdHIjmMpSUwWxXyYZ%" 38#define LUA_STRFTIMEOPTIONS "aAbBcdHIjmMpSUwWxXyYZ%"
39#else /* C99 specification */ 39#else /* C99 specification */
40#define LUA_STRFTIMEOPTIONS "aAbBcCdDeFgGhHIjmMnprRStTuUVwWxXyYzZ%" \ 40#define LUA_STRFTIMEOPTIONS "aAbBcCdDeFgGhHIjmMnprRStTuUVwWxXyYzZ%" \