mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-05 02:27:45 +00:00
__THROW warning fix for e2k (#2253)
This commit is contained in:
parent
1678ed6235
commit
0e6f989b0d
@ -490,7 +490,8 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user