diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-12-29 23:53:11 +1030 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-12-29 23:53:11 +1030 |
commit | 6cc88e3ac5275868e168acaf60203563f131355b (patch) | |
tree | c574da2dff2c4e95cc6d39d6de2393b64eedf4fc /manual.txt | |
parent | 155393d5bd801ce5dbd76020facecd9270679e94 (diff) | |
download | lua-cjson-6cc88e3ac5275868e168acaf60203563f131355b.tar.gz lua-cjson-6cc88e3ac5275868e168acaf60203563f131355b.tar.bz2 lua-cjson-6cc88e3ac5275868e168acaf60203563f131355b.zip |
Remove POSIX locale workaround
Diffstat (limited to 'manual.txt')
-rw-r--r-- | manual.txt | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -47,20 +47,6 @@ LuaRocks:: Unix, Windows | |||
47 | Build options (#define) | 47 | Build options (#define) |
48 | ~~~~~~~~~~~~~~~~~~~~~~~ | 48 | ~~~~~~~~~~~~~~~~~~~~~~~ |
49 | 49 | ||
50 | Lua CJSON uses +strtod+(3) and +snprintf+(3) to perform numeric | ||
51 | conversion as they are usually well supported, fast and bug free. Lua | ||
52 | CJSON may optionally be compiled with (only) one of the following | ||
53 | preprocessor macros to support locales with comma decimal separators: | ||
54 | |||
55 | [horizontal] | ||
56 | USE_POSIX_USELOCALE:: Thread safe. Supported by Linux and Mac OSX. | ||
57 | Recommended where available. | ||
58 | |||
59 | USE_POSIX_SETLOCALE:: Use only with single threaded programs. | ||
60 | Works on all ANSI C platforms. | ||
61 | |||
62 | Also available: | ||
63 | |||
64 | [horizontal] | 50 | [horizontal] |
65 | USE_INTERNAL_ISINF:: Workaround for Solaris platforms missing isinf(). | 51 | USE_INTERNAL_ISINF:: Workaround for Solaris platforms missing isinf(). |
66 | 52 | ||