From 83a17b5e6ad035464be60670a606abfdd4cd7edd Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Thu, 13 Nov 2014 00:31:26 +0100 Subject: [PATCH] libplatform stuff not needed on Windows --- v8js.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v8js.cc b/v8js.cc index 7b1b9b5..2f98f32 100644 --- a/v8js.cc +++ b/v8js.cc @@ -21,7 +21,7 @@ #include -#if PHP_V8_API_VERSION >= 3029036 +#if !defined(_WIN32) && PHP_V8_API_VERSION >= 3029036 #include #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