diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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). |
27 | override 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. | ||
30 | override CFLAGS += -DUSE_POSIX_USELOCALE | ||
31 | #override CFLAGS += -DUSE_POSIX_SETLOCALE | ||
28 | 32 | ||
29 | INSTALL ?= install | 33 | INSTALL ?= install |
30 | 34 | ||