mirror of
https://github.com/phpv8/v8js.git
synced 2024-11-08 13:48:40 +00:00
define V8_ENABLE_SANDBOX if needed
This commit is contained in:
parent
9afd1a941e
commit
fa264c9ec5
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user