aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2012-01-19 00:19:47 +1030
committerMark Pulford <mark@kyne.com.au>2012-03-04 18:54:35 +1030
commit88bb249473db4e4923e4c27a8e3ece7a77e738ce (patch)
tree9c7d5d537fb539aca1f17b75c7296d1f6489de22 /Makefile
parent1a5460be319ac29af31f201fbf9775340262ba9b (diff)
downloadlua-cjson-88bb249473db4e4923e4c27a8e3ece7a77e738ce.tar.gz
lua-cjson-88bb249473db4e4923e4c27a8e3ece7a77e738ce.tar.bz2
lua-cjson-88bb249473db4e4923e4c27a8e3ece7a77e738ce.zip
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bf2b07f..9fb8d0b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
1##### Available defines for CJSON_CFLAGS ##### 1##### Available defines for CJSON_CFLAGS #####
2## 2##
3## USE_INTERNAL_ISINF: Workaround for Solaris platforms missing isinf(). 3## USE_INTERNAL_ISINF: Workaround for Solaris platforms missing isinf().
4## DISABLE_CJSON_GLOBAL: Do not store module is "cjson" global. 4## ENABLE_CJSON_GLOBAL: Register "cjson" module table as a global variable.
5## DISABLE_INVALID_NUMBERS: Permanently disable invalid JSON numbers: 5## DISABLE_INVALID_NUMBERS: Permanently disable invalid JSON numbers:
6## NaN, Infinity, hex. 6## NaN, Infinity, hex.
7## 7##