Skip to content

Commit fa264c9

Browse files
committed
define V8_ENABLE_SANDBOX if needed
1 parent 9afd1a9 commit fa264c9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

php_v8js_macros.h

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ extern "C" {
5252
#undef COMPILER
5353
#endif
5454

55+
#ifdef V8_HAS_INITIALIZE_SANDBOX
56+
#define V8_ENABLE_SANDBOX 1
57+
#endif
58+
5559
#include <v8.h>
5660
#include <v8-platform.h>
5761

0 commit comments

Comments
 (0)