diff --git a/yoga/YGMacros.h b/yoga/YGMacros.h index b4e4e95fae..cd137117d2 100644 --- a/yoga/YGMacros.h +++ b/yoga/YGMacros.h @@ -22,7 +22,7 @@ #if defined(__cplusplus) #define YG_DEPRECATED(message) [[deprecated(message)]] #elif defined(_MSC_VER) -#define YG_DEPRECATED(message) __declspec(depreacted(message)) +#define YG_DEPRECATED(message) __declspec(deprecated(message)) #else #define YG_DEPRECATED(message) __attribute__((deprecated(message))) #endif