Skip to content

Commit

Permalink
__THROW warning fix for e2k (#2253)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyakurdyukov authored Apr 25, 2021
1 parent 1678ed6 commit 0e6f989
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/posix-mock-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e6f989

Please sign in to comment.