Ver código fonte

define V8_ENABLE_SANDBOX if needed

Stefan Siegl 2 anos atrás
pai
commit
fa264c9ec5
1 arquivos alterados com 4 adições e 0 exclusões
  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>