summaryrefslogtreecommitdiff
path: root/src/luaconf.h
diff options
context:
space:
mode:
authorMike Pall <mike>2017-03-17 12:07:21 +0100
committerMike Pall <mike>2017-03-17 12:07:21 +0100
commitde5568e0eaf22d2c7d58c2cbd9060460abc4ff2f (patch)
tree6c043ae650ae80d96cb7c93d91e0033d5168a006 /src/luaconf.h
parentd3e36e7920c641410dfcdf1fc6c10069fd3192a6 (diff)
downloadluajit-de5568e0eaf22d2c7d58c2cbd9060460abc4ff2f.tar.gz
luajit-de5568e0eaf22d2c7d58c2cbd9060460abc4ff2f.tar.bz2
luajit-de5568e0eaf22d2c7d58c2cbd9060460abc4ff2f.zip
Remove Lua 5.0 compatibility defines.
Suggested by François Perrad.
Diffstat (limited to '')
-rw-r--r--src/luaconf.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/luaconf.h b/src/luaconf.h
index 87b052db..6486c003 100644
--- a/src/luaconf.h
+++ b/src/luaconf.h
@@ -92,10 +92,6 @@
92#define LUAI_GCMUL 200 /* Run GC at 200% of allocation speed. */ 92#define LUAI_GCMUL 200 /* Run GC at 200% of allocation speed. */
93#define LUA_MAXCAPTURES 32 /* Max. pattern captures. */ 93#define LUA_MAXCAPTURES 32 /* Max. pattern captures. */
94 94
95/* Compatibility with older library function names. */
96#define LUA_COMPAT_MOD /* OLD: math.mod, NEW: math.fmod */
97#define LUA_COMPAT_GFIND /* OLD: string.gfind, NEW: string.gmatch */
98
99/* Configuration for the frontend (the luajit executable). */ 95/* Configuration for the frontend (the luajit executable). */
100#if defined(luajit_c) 96#if defined(luajit_c)
101#define LUA_PROGNAME "luajit" /* Fallback frontend name. */ 97#define LUA_PROGNAME "luajit" /* Fallback frontend name. */