From 4c8fff9af56a3474c6de2dcf3ef0a1bee9095f2a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 24 Oct 2013 08:17:43 +0200 Subject: [PATCH] LUA_OK is 5.2 --- php_lua.h | 5 +++++ 1 file changed, 5 insertions(+) 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