aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5857aee..082c720 100644
--- a/Makefile
+++ b/Makefile
@@ -23,8 +23,12 @@ override CFLAGS += -fpic -I$(LUA_INCLUDE_DIR) -DVERSION=\"$(CJSON_VERSION)\"
23# Handle Solaris platforms that are missing isinf(). 23# Handle Solaris platforms that are missing isinf().
24#override CFLAGS += -DUSE_INTERNAL_ISINF 24#override CFLAGS += -DUSE_INTERNAL_ISINF
25# Handle locales that use comma as a decimal separator on locale aware 25# Handle locales that use comma as a decimal separator on locale aware
26# platforms. Requires POSIX-1.2008 support. 26# platforms (optional, but recommended).
27override CFLAGS += -DUSE_POSIX_LOCALE 27# USE_POSIX_USELOCALE: Linux, OSX. Thread safe. Recommended option.
28# USE_POSIX_SETLOCALE: Works on all ANSI C platforms. May be used when
29# thread-safety isn't required.
30override CFLAGS += -DUSE_POSIX_USELOCALE
31#override CFLAGS += -DUSE_POSIX_SETLOCALE
28 32
29INSTALL ?= install 33INSTALL ?= install
30 34