You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/07/28 11:09:07 UTC

svn commit: r1366621 - /httpd/httpd/trunk/modules/lua/mod_lua.h

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)