__THROW warning fix for e2k

This commit is contained in:
Ilya Kurdyukov 2021-04-25 10:44:38 +07:00 committed by GitHub
parent bb006f9735
commit 12808a92da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -490,7 +490,7 @@ double _strtod_l(const char* nptr, char** endptr, _locale_t locale) {
# pragma warning(pop)
# endif
# if defined(__THROW) && FMT_GCC_VERSION > 0 && FMT_GCC_VERSION <= 408
# if defined(__THROW) && ((FMT_GCC_VERSION > 0 && FMT_GCC_VERSION <= 408) || defined (__e2k__))
# define FMT_LOCALE_THROW __THROW
# else
# define FMT_LOCALE_THROW