diff options
author | Jan Dubois <jand@activestate.com> | 2006-03-22 14:49:11 -0800 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-03-23 09:58:22 +0000 |
commit | cab190d4d715e2c6ec26ee0ebfd0bc6fb0f03bd3 (patch) | |
tree | c3e965c0a96cfea8739dcaafefe2f784201da4ea /win32/win32.h | |
parent | 0905937dfb35f5c5812cb6d7a8ed9334fb7fa7d9 (diff) | |
download | perl-cab190d4d715e2c6ec26ee0ebfd0bc6fb0f03bd3.tar.gz |
RE: [PATCH, no, really!] Re: [perl #38779] NAN's on Win32
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <060201c64e45$e4ca7020$2217a8c0@candy>
Also, back out change #27567.
p4raw-link: @27567 on //depot/perl: 9bf76a6a2fc16ab628a46452e34352d3e3d71674
p4raw-id: //depot/perl@27576
Diffstat (limited to 'win32/win32.h')
-rw-r--r-- | win32/win32.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h index e56c4df13d..7be8482ce4 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -210,6 +210,11 @@ typedef unsigned short mode_t; #define isnan _isnan +#if _MSC_VER < 1300 +/* VC6 has broken NaN semantics: NaN == NaN returns true instead of false */ +#define NAN_COMPARE_BROKEN 1 +#endif + #endif /* _MSC_VER */ #ifdef __MINGW32__ /* Minimal Gnu-Win32 */ |