diff --git a/third-party/folly/src/folly/CppAttributes.h b/third-party/folly/src/folly/CppAttributes.h index 6199b8a5400db..a701f4917abf2 100644 --- a/third-party/folly/src/folly/CppAttributes.h +++ b/third-party/folly/src/folly/CppAttributes.h @@ -118,6 +118,8 @@ */ #if FOLLY_HAS_CPP_ATTRIBUTE(no_unique_address) #define FOLLY_ATTR_NO_UNIQUE_ADDRESS no_unique_address +#elif FOLLY_HAS_CPP_ATTRIBUTE(msvc::no_unique_address) +#define FOLLY_ATTR_NO_UNIQUE_ADDRESS msvc::no_unique_address #else #define FOLLY_ATTR_NO_UNIQUE_ADDRESS #endif