0
0
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:
Stefan Siegl 2023-02-03 19:04:56 +01:00
parent 9afd1a941e
commit fa264c9ec5

View File

@ -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>