diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-12-15 21:22:14 +1030 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-12-15 21:22:14 +1030 |
commit | d3796d8a20339925a1108074f1da973a9fe59663 (patch) | |
tree | 2cf839079ce2b4f7f009c8f044bd33a2c219a12f | |
parent | 1d8eba4368aa53ad5e534b68873d24b3ee69cc51 (diff) | |
download | lua-cjson-d3796d8a20339925a1108074f1da973a9fe59663.tar.gz lua-cjson-d3796d8a20339925a1108074f1da973a9fe59663.tar.bz2 lua-cjson-d3796d8a20339925a1108074f1da973a9fe59663.zip |
Clean up build options documentation in manual
-rw-r--r-- | manual.txt | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -45,20 +45,19 @@ LuaRocks:: | |||
45 | POSIX (including Linux, BSD, Mac OSX & Solaris), Windows | 45 | POSIX (including Linux, BSD, Mac OSX & Solaris), Windows |
46 | 46 | ||
47 | 47 | ||
48 | Build configuration overview | 48 | Build options (#define) |
49 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 49 | ~~~~~~~~~~~~~~~~~~~~~~~ |
50 | 50 | ||
51 | Lua CJSON uses +strtod+(3) and +snprintf+(3) to perform numeric | 51 | Lua CJSON uses +strtod+(3) and +snprintf+(3) to perform numeric |
52 | conversion as they are usually well supported, fast and bug free. | 52 | conversion as they are usually well supported, fast and bug free. To |
53 | 53 | ensure JSON encoding/decoding works correctly for locales using comma | |
54 | To ensure JSON encoding/decoding works correctly for locales using | 54 | decimal separators, Lua CJSON may optionally be compiled with one of |
55 | comma decimal separators, Lua CJSON must be compiled with one of the | 55 | the following (+#define+): |
56 | following ++#define++s: | ||
57 | 56 | ||
58 | USE_POSIX_USELOCALE:: | 57 | USE_POSIX_USELOCALE:: |
59 | Thread safe. Supported by Linux and Mac OSX. Recommended where available. | 58 | Thread safe. Supported by Linux and Mac OSX. Recommended where available. |
60 | USE_POSIX_SETLOCALE:: | 59 | USE_POSIX_SETLOCALE:: |
61 | Works on all ANSI C platforms. May be used when thread-safety isn't required. | 60 | Works on all ANSI C platforms. Only use with single threaded programs. |
62 | 61 | ||
63 | Also available: | 62 | Also available: |
64 | 63 | ||