diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2014-11-12 15:57:35 -0200 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-11-12 15:57:35 -0200 |
commit | 5422c7ac6beb2231f41a523ddcd6dfbe16d8b952 (patch) | |
tree | 81843337d144973c84d4f0a376485569c18d93da /src | |
parent | a0ca710ceac45d41082ec5e48f2ae5a2320ae1cd (diff) | |
parent | 8f2949974a6329296cb643bd9507983e8b589d9a (diff) | |
download | luafilesystem-5422c7ac6beb2231f41a523ddcd6dfbe16d8b952.tar.gz luafilesystem-5422c7ac6beb2231f41a523ddcd6dfbe16d8b952.tar.bz2 luafilesystem-5422c7ac6beb2231f41a523ddcd6dfbe16d8b952.zip |
Merge pull request #46 from moteus/master
Add. Travis files.
Diffstat (limited to 'src')
-rw-r--r-- | src/lfs.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -69,6 +69,14 @@ | |||
69 | #define LFS_VERSION "1.6.2" | 69 | #define LFS_VERSION "1.6.2" |
70 | #define LFS_LIBNAME "lfs" | 70 | #define LFS_LIBNAME "lfs" |
71 | 71 | ||
72 | #if LUA_VERSION_NUM >= 503 /* Lua 5.3 */ | ||
73 | |||
74 | #ifndef luaL_optlong | ||
75 | #define luaL_optlong luaL_optinteger | ||
76 | #endif | ||
77 | |||
78 | #endif | ||
79 | |||
72 | #if LUA_VERSION_NUM < 502 | 80 | #if LUA_VERSION_NUM < 502 |
73 | # define luaL_newlib(L,l) (lua_newtable(L), luaL_register(L,NULL,l)) | 81 | # define luaL_newlib(L,l) (lua_newtable(L), luaL_register(L,NULL,l)) |
74 | #endif | 82 | #endif |