0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-11-09 16:28:41 +00:00

Move libplatform.h include farther down

If it is included before php.h, PHP_V8_API_VERSION is not
defined if V8Js is built as a PHP built-in extension.
This commit is contained in:
Stefan Siegl 2015-08-02 18:15:04 +02:00
parent 3324490a79
commit 5018192123

View File

@ -15,10 +15,6 @@
#include "config.h"
#endif
#if !defined(_WIN32) && PHP_V8_API_VERSION >= 3029036
#include <libplatform/libplatform.h>
#endif
extern "C" {
#include "php.h"
#include "ext/date/php_date.h"
@ -28,6 +24,10 @@ extern "C" {
#include "zend_exceptions.h"
}
#if !defined(_WIN32) && PHP_V8_API_VERSION >= 3029036
#include <libplatform/libplatform.h>
#endif
#include "php_v8js_macros.h"
#include "v8js_v8.h"
#include "v8js_debug.h"