0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 18:41:52 +00:00

libplatform stuff not needed on Windows

This commit is contained in:
Stefan Siegl 2014-11-13 00:31:26 +01:00
parent 877ecfc720
commit 83a17b5e6a

View File

@ -21,7 +21,7 @@
#include <v8-debug.h>
#if PHP_V8_API_VERSION >= 3029036
#if !defined(_WIN32) && PHP_V8_API_VERSION >= 3029036
#include <libplatform/libplatform.h>
#endif
@ -869,7 +869,7 @@ static void php_v8js_init(TSRMLS_D) /* {{{ */
return;
}
#if PHP_V8_API_VERSION >= 3029036
#if !defined(_WIN32) && PHP_V8_API_VERSION >= 3029036
v8::Platform* platform = v8::platform::CreateDefaultPlatform();
v8::V8::InitializePlatform(platform);
#endif