summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-12-30 14:17:44 +1030
committerMark Pulford <mark@kyne.com.au>2011-12-30 14:17:44 +1030
commit2416b145073211b840781da6abf4b6d97f4657a6 (patch)
tree6e92a13a7cc8ef8357245bc3ef320f5841350991 /Makefile
parent6cc88e3ac5275868e168acaf60203563f131355b (diff)
downloadlua-cjson-2416b145073211b840781da6abf4b6d97f4657a6.tar.gz
lua-cjson-2416b145073211b840781da6abf4b6d97f4657a6.tar.bz2
lua-cjson-2416b145073211b840781da6abf4b6d97f4657a6.zip
Add fpconv to work around comma decimal points
Create a separate buffer and translate comma <> dot before calling strtod(), and after calling sprintf() as required. - Add "update_locale" Lua API call and init locale on module load. - Move sprintf format string to fpconv
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7685363..fb63d99 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ INSTALL_CMD = install
35## End platform specific section 35## End platform specific section
36 36
37BUILD_CFLAGS = -fpic -I$(LUA_INCLUDE_DIR) $(CJSON_CFLAGS) 37BUILD_CFLAGS = -fpic -I$(LUA_INCLUDE_DIR) $(CJSON_CFLAGS)
38OBJS := lua_cjson.o strbuf.o 38OBJS := lua_cjson.o strbuf.o fpconv.o
39 39
40.PHONY: all clean install package doc 40.PHONY: all clean install package doc
41 41