sim: sh: fix isnan redefinition with mingw targets
The code assumes that all _WIN32 targets are the same and can define isnan to _isnan. For mingw targets, they provide an isnan define already, so no need for the fallback here.
This commit is contained in:
parent
fd0975b96b
commit
697fa6fe67
1 changed files with 2 additions and 0 deletions
|
@ -65,8 +65,10 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
#include <float.h> /* Needed for _isnan() */
|
||||
#ifndef isnan
|
||||
#define isnan _isnan
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef SIGBUS
|
||||
#define SIGBUS SIGSEGV
|
||||
|
|
Loading…
Add table
Reference in a new issue