summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-12-15 21:22:14 +1030
committerMark Pulford <mark@kyne.com.au>2011-12-15 21:22:14 +1030
commitd3796d8a20339925a1108074f1da973a9fe59663 (patch)
tree2cf839079ce2b4f7f009c8f044bd33a2c219a12f
parent1d8eba4368aa53ad5e534b68873d24b3ee69cc51 (diff)
downloadlua-cjson-d3796d8a20339925a1108074f1da973a9fe59663.tar.gz
lua-cjson-d3796d8a20339925a1108074f1da973a9fe59663.tar.bz2
lua-cjson-d3796d8a20339925a1108074f1da973a9fe59663.zip
Clean up build options documentation in manual
-rw-r--r--manual.txt15
1 files changed, 7 insertions, 8 deletions
diff --git a/manual.txt b/manual.txt
index 4229b51..76188d6 100644
--- a/manual.txt
+++ b/manual.txt
@@ -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
48Build configuration overview 48Build options (#define)
49~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49~~~~~~~~~~~~~~~~~~~~~~~
50 50
51Lua CJSON uses +strtod+(3) and +snprintf+(3) to perform numeric 51Lua CJSON uses +strtod+(3) and +snprintf+(3) to perform numeric
52conversion as they are usually well supported, fast and bug free. 52conversion as they are usually well supported, fast and bug free. To
53 53ensure JSON encoding/decoding works correctly for locales using comma
54To ensure JSON encoding/decoding works correctly for locales using 54decimal separators, Lua CJSON may optionally be compiled with one of
55comma decimal separators, Lua CJSON must be compiled with one of the 55the following (+#define+):
56following ++#define++s:
57 56
58USE_POSIX_USELOCALE:: 57USE_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.
60USE_POSIX_SETLOCALE:: 59USE_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
63Also available: 62Also available:
64 63