1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

Support build for Lua 5.1 (for LuaJIT), Lua 5.2 and Lua 5.3 (Step 1/?)

See #195
This commit is contained in:
bel
2015-08-22 21:21:38 +02:00
parent ba1c07d7bb
commit 2c614b584c
2 changed files with 8 additions and 0 deletions

View File

@@ -20,6 +20,10 @@
** $Id: lfs.c,v 1.61 2009/07/04 02:10:16 mascarenhas Exp $
*/
#if LUA_VERSION_NUM == 501
#define lua_pushinteger lua_pushnumber
#endif
#ifndef LFS_DO_NOT_USE_LARGE_FILE
#ifndef _WIN32
#ifndef _AIX

View File

@@ -34,6 +34,10 @@
#include "lua.h"
#include "lauxlib.h"
#if LUA_VERSION_NUM == 501
#define lua_pushinteger lua_pushnumber
#endif
#if LUA_VERSION_NUM > 501
/*
** Lua 5.2