Explorar el Código

define V8_ENABLE_SANDBOX if needed

Stefan Siegl hace 2 años
padre
commit
fa264c9ec5
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      php_v8js_macros.h

+ 4 - 0
php_v8js_macros.h

@@ -52,6 +52,10 @@ extern "C" {
 #undef COMPILER
 #endif
 
+#ifdef V8_HAS_INITIALIZE_SANDBOX
+#define V8_ENABLE_SANDBOX 1
+#endif
+
 #include <v8.h>
 #include <v8-platform.h>