mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
LUA_COMPAT_ALL should be defined _before_ including lua headers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366621 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -40,12 +40,13 @@
|
||||
#include "apr_time.h"
|
||||
#include "apr_hooks.h"
|
||||
|
||||
/* Allow for Lua 5.2 backwards compatibility */
|
||||
#define LUA_COMPAT_ALL
|
||||
|
||||
#include "lua.h"
|
||||
#include "lauxlib.h"
|
||||
#include "lualib.h"
|
||||
|
||||
/* Allow for Lua 5.2 backwards compatibility */
|
||||
#define LUA_COMPAT_ALL
|
||||
#if LUA_VERSION_NUM > 501
|
||||
/* Load mode for lua_load() */
|
||||
#define lua_load(a,b,c,d) lua_load(a,b,c,d,NULL)
|
||||
|
Reference in New Issue
Block a user