diff --git a/php_lua.h b/php_lua.h index 8290694..d8a6f63 100644 --- a/php_lua.h +++ b/php_lua.h @@ -24,6 +24,11 @@ #include "lauxlib.h" #include "lualib.h" +/* LUA_OK is defined sinc 5.2 */ +#ifndef LUA_OK +#define LUA_OK 0 +#define + extern zend_module_entry lua_module_entry; #define phpext_lua_ptr &lua_module_entry