From 43be08bd32d244250eecc1d006a162651a173148 Mon Sep 17 00:00:00 2001 From: Mark Pulford Date: Fri, 20 Jan 2012 00:46:25 +1030 Subject: Add MULTIPLE_THREADS to Makefile #define list --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9fb8d0b..ac1b803 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,15 @@ ##### Available defines for CJSON_CFLAGS ##### ## -## USE_INTERNAL_ISINF: Workaround for Solaris platforms missing isinf(). ## ENABLE_CJSON_GLOBAL: Register "cjson" module table as a global variable. +## USE_INTERNAL_ISINF: Workaround for Solaris platforms missing isinf(). ## DISABLE_INVALID_NUMBERS: Permanently disable invalid JSON numbers: ## NaN, Infinity, hex. ## ## Optional built-in number conversion uses the following defines: ## USE_INTERNAL_DTOA: Use builtin strtod/dtoa for numeric conversions. ## IEEE_BIG_ENDIAN: Required on big endian architectures. +## MULTIPLE_THREADS: Must be set when Lua CJSON may be used in a +## multi-threaded application. Requries _pthreads_. ##### Build defaults ##### LUA_VERSION = 5.1 -- cgit v1.2.3-55-g6feb