summaryrefslogtreecommitdiff
path: root/src/luaconf.h
diff options
context:
space:
mode:
authorMike Pall <mike>2012-08-25 23:02:29 +0200
committerMike Pall <mike>2012-08-25 23:02:29 +0200
commit4c882fe71406a923f07c8e9a0b9189036e0ba386 (patch)
tree22aa3995b5bdc2fce05ba17488799e67abc635ba /src/luaconf.h
parent653facd0d5c1a4f7eae43eefbf8148f57e28e606 (diff)
downloadluajit2-4c882fe71406a923f07c8e9a0b9189036e0ba386.tar.gz
Replace strtod() with builtin string to number conversion.
Diffstat (limited to 'src/luaconf.h')
-rw-r--r--src/luaconf.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/luaconf.h b/src/luaconf.h
index dfb79e19..5c29d4f3 100644
--- a/src/luaconf.h
+++ b/src/luaconf.h
@@ -98,7 +98,6 @@
#define LUA_NUMBER_FMT "%.14g"
#define lua_number2str(s, n) sprintf((s), LUA_NUMBER_FMT, (n))
#define LUAI_MAXNUMBER2STR 32
-#define lua_str2number(s, p) strtod((s), (p))
#define LUA_INTFRMLEN "l"
#define LUA_INTFRM_T long