mirror of
https://github.com/phpv8/v8js.git
synced 2025-02-02 23:40:01 +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
|
#undef COMPILER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef V8_HAS_INITIALIZE_SANDBOX
|
||||||
|
#define V8_ENABLE_SANDBOX 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <v8.h>
|
#include <v8.h>
|
||||||
#include <v8-platform.h>
|
#include <v8-platform.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user