diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2013-09-19 14:27:10 +0100 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2013-09-19 14:50:43 +0100 |
commit | 9ea4080170688502a51eb7f66ecfafe8f08c4cd8 (patch) | |
tree | e57792439df20034f04ad57cec922950e36c2964 /win32 | |
parent | e8384d8ddf034f3e8db40d1beac3236976fa05ba (diff) | |
download | perl-9ea4080170688502a51eb7f66ecfafe8f08c4cd8.tar.gz |
Add a USING_MSVC6 macro to identify Microsoft Visual C++ 6.0
This simplifies some of the logic necessary for coping with its various
problems.
Suggested by Nicholas Clark.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.h b/win32/win32.h index 47a1dc6024..79fe071351 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -246,7 +246,7 @@ typedef unsigned short mode_t; #define snprintf _snprintf #define vsnprintf _vsnprintf -#if _MSC_VER < 1300 +#ifdef USING_MSVC6 /* VC6 has broken NaN semantics: NaN == NaN returns true instead of false */ #define NAN_COMPARE_BROKEN 1 #endif |