diff --git a/include/fmt/format.h b/include/fmt/format.h index 30ab89973127..6eb0619226b7 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -86,10 +86,11 @@ # elif FMT_MSC_VERSION >= 1929 // VS2019 v16.10 and later # define FMT_NO_UNIQUE_ADDRESS [[msvc::no_unique_address]] # endif -# else -# define FMT_NO_UNIQUE_ADDRESS # endif #endif +#ifndef FMT_NO_UNIQUE_ADDRESS +# define FMT_NO_UNIQUE_ADDRESS +#endif #if FMT_GCC_VERSION || defined(__clang__) # define FMT_VISIBILITY(value) __attribute__((visibility(value)))