diff options
Diffstat (limited to 'lua-cjson-1.0.3-1.rockspec')
-rw-r--r-- | lua-cjson-1.0.3-1.rockspec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lua-cjson-1.0.3-1.rockspec b/lua-cjson-1.0.3-1.rockspec index 3f8e981..28514e1 100644 --- a/lua-cjson-1.0.3-1.rockspec +++ b/lua-cjson-1.0.3-1.rockspec | |||
@@ -25,9 +25,12 @@ build = { | |||
25 | cjson = { | 25 | cjson = { |
26 | sources = { "lua_cjson.c", "strbuf.c" }, | 26 | sources = { "lua_cjson.c", "strbuf.c" }, |
27 | -- Optional workarounds: | 27 | -- Optional workarounds: |
28 | -- USE_POSIX_USELOCALE: Linux, OSX. Thread safe. Recommended. | ||
29 | -- USE_POSIX_SETLOCALE: Works on all ANSI C platforms. May be used when | ||
30 | -- thread-safety isn't required. | ||
28 | -- USE_INTERNAL_ISINF: Provide internal isinf() implementation. Required | 31 | -- USE_INTERNAL_ISINF: Provide internal isinf() implementation. Required |
29 | -- on some Solaris platforms. | 32 | -- on some Solaris platforms. |
30 | defines = { "VERSION=\"1.0.3\"" } | 33 | defines = { "VERSION=\"1.0.3\"", "USE_POSIX_SETLOCALE" } |
31 | } | 34 | } |
32 | }, | 35 | }, |
33 | copy_directories = { "tests" } | 36 | copy_directories = { "tests" } |