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:
4
src/third_party/lfs.c
vendored
4
src/third_party/lfs.c
vendored
@@ -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
|
||||
|
||||
4
src/third_party/lsqlite3.c
vendored
4
src/third_party/lsqlite3.c
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user