From 88bb249473db4e4923e4c27a8e3ece7a77e738ce Mon Sep 17 00:00:00 2001 From: Mark Pulford Date: Thu, 19 Jan 2012 00:19:47 +1030 Subject: Disable registration of cjson global variable Disable registration of cjson module table global variable in the default build. Automatically creating a variable in the global namespace can cause issues for other software and is no longer recommended with Lua. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bf2b07f..9fb8d0b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ ##### Available defines for CJSON_CFLAGS ##### ## ## USE_INTERNAL_ISINF: Workaround for Solaris platforms missing isinf(). -## DISABLE_CJSON_GLOBAL: Do not store module is "cjson" global. +## ENABLE_CJSON_GLOBAL: Register "cjson" module table as a global variable. ## DISABLE_INVALID_NUMBERS: Permanently disable invalid JSON numbers: ## NaN, Infinity, hex. ## -- cgit v1.2.3-55-g6feb