From: Jan Dubois Date: Wed, 2 Dec 2009 06:55:55 +0000 (-0800) Subject: Don't redefine isnan() macro if MinGW already defined one. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=44604af16e73eaf78088798f46b5cacde6f5033a;p=p5sagit%2Fp5-mst-13.2.git Don't redefine isnan() macro if MinGW already defined one. --- diff --git a/win32/win32.h b/win32/win32.h index 3916b2e..762ab54 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