diff --git a/Common/cpp/ReanimatedRuntime/ReanimatedHermesRuntime.h b/Common/cpp/ReanimatedRuntime/ReanimatedHermesRuntime.h index e90ffdb7d7c..e4d807d36a7 100644 --- a/Common/cpp/ReanimatedRuntime/ReanimatedHermesRuntime.h +++ b/Common/cpp/ReanimatedRuntime/ReanimatedHermesRuntime.h @@ -122,9 +122,11 @@ class ReanimatedHermesRuntime private: std::unique_ptr runtime_; ReanimatedReentrancyCheck reentrancyCheck_; +#if HERMES_ENABLE_DEBUGGER #if REACT_NATIVE_MINOR_VERSION >= 71 facebook::hermes::inspector::chrome::DebugSessionToken debugToken_; -#endif +#endif // REACT_NATIVE_MINOR_VERSION >= 71 +#endif // HERMES_ENABLE_DEBUGGER }; } // namespace reanimated