httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1366621 - /httpd/httpd/trunk/modules/lua/mod_lua.h
Date Sat, 28 Jul 2012 09:09:07 GMT
Author: humbedooh
Date: Sat Jul 28 09:09:07 2012
New Revision: 1366621

URL: http://svn.apache.org/viewvc?rev=1366621&view=rev
Log:
LUA_COMPAT_ALL should be defined _before_ including lua headers

Modified:
    httpd/httpd/trunk/modules/lua/mod_lua.h

Modified: httpd/httpd/trunk/modules/lua/mod_lua.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/mod_lua.h?rev=1366621&r1=1366620&r2=1366621&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/mod_lua.h (original)
+++ httpd/httpd/trunk/modules/lua/mod_lua.h Sat Jul 28 09:09:07 2012
@@ -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)



Mime
View raw message