mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 19:14:52 +08:00
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
@ -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…
Reference in New Issue
Block a user