diff --git a/ReactCommon/yoga/yoga/Yoga.h b/ReactCommon/yoga/yoga/Yoga.h index f15b4e469b..d5da362dec 100644 --- a/ReactCommon/yoga/yoga/Yoga.h +++ b/ReactCommon/yoga/yoga/Yoga.h @@ -47,9 +47,13 @@ extern const YGValue YGValueAuto; #ifdef __cplusplus +YG_EXTERN_C_END + extern bool operator==(const YGValue& lhs, const YGValue& rhs); extern bool operator!=(const YGValue& lhs, const YGValue& rhs); +YG_EXTERN_C_BEGIN + #endif typedef struct YGConfig* YGConfigRef;