diff options
author | Jan Dubois <jand@activestate.com> | 2009-12-01 22:55:55 -0800 |
---|---|---|
committer | Jan Dubois <jand@activestate.com> | 2009-12-01 22:55:55 -0800 |
commit | 44604af16e73eaf78088798f46b5cacde6f5033a (patch) | |
tree | 9cd0035fedfa49efb1460b6cbbd1061cc99e5e4f /win32/win32.h | |
parent | e7786e66c00374f3132d17435294a62e2ea96eef (diff) | |
download | perl-44604af16e73eaf78088798f46b5cacde6f5033a.tar.gz |
Don't redefine isnan() macro if MinGW already defined one.
Diffstat (limited to 'win32/win32.h')
-rw-r--r-- | win32/win32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h index 3916b2e1f6..762ab54068 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -260,7 +260,9 @@ typedef long gid_t; #endif #define flushall _flushall #define fcloseall _fcloseall +#ifndef isnan #define isnan _isnan /* ...same libraries as MSVC */ +#endif #ifndef _O_NOINHERIT # define _O_NOINHERIT 0x0080 |