diff --git a/Common/cpp/SharedItems/Shareables.h b/Common/cpp/SharedItems/Shareables.h index 0b9ff0e671a..7a26f815a82 100644 --- a/Common/cpp/SharedItems/Shareables.h +++ b/Common/cpp/SharedItems/Shareables.h @@ -14,7 +14,7 @@ #include "RuntimeManager.h" #include "Scheduler.h" -#define HAS_JS_WEAK_OBJECTS JS_RUNTIME_HERMES +#define HAS_JS_WEAK_OBJECTS (JS_RUNTIME_HERMES || JS_RUNTIME_V8) using namespace facebook;