From d3796d8a20339925a1108074f1da973a9fe59663 Mon Sep 17 00:00:00 2001 From: Mark Pulford Date: Thu, 15 Dec 2011 21:22:14 +1030 Subject: Clean up build options documentation in manual --- manual.txt | 15 +++++++-------- 1 file 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:: POSIX (including Linux, BSD, Mac OSX & Solaris), Windows -Build configuration overview -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Build options (#define) +~~~~~~~~~~~~~~~~~~~~~~~ Lua CJSON uses +strtod+(3) and +snprintf+(3) to perform numeric -conversion as they are usually well supported, fast and bug free. - -To ensure JSON encoding/decoding works correctly for locales using -comma decimal separators, Lua CJSON must be compiled with one of the -following ++#define++s: +conversion as they are usually well supported, fast and bug free. To +ensure JSON encoding/decoding works correctly for locales using comma +decimal separators, Lua CJSON may optionally be compiled with one of +the following (+#define+): USE_POSIX_USELOCALE:: Thread safe. Supported by Linux and Mac OSX. Recommended where available. USE_POSIX_SETLOCALE:: - Works on all ANSI C platforms. May be used when thread-safety isn't required. + Works on all ANSI C platforms. Only use with single threaded programs. Also available: -- cgit v1.2.3-55-g6feb