From 06371e412629ccf45d6c1e5f4ca363680dd244e6 Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Wed, 17 Sep 2014 16:47:33 +0200 Subject: [PATCH] Include libplatform.h only for v8 >= 3.29.36 --- v8js.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/v8js.cc b/v8js.cc index 13b301f..1a93d17 100644 --- a/v8js.cc +++ b/v8js.cc @@ -20,7 +20,10 @@ #endif #include + +#if PHP_V8_API_VERSION >= 3029036 #include +#endif #include "php_v8js_macros.h"