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 /util.h | |
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 'util.h')
-rw-r--r-- | util.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -55,12 +55,10 @@ This is a synonym for (! foldEQ_locale()) /* outside the core, perl.h undefs HAS_QUAD if IV isn't 64-bit We can't swap this to HAS_QUAD, because the logic here affects the type of perl_drand48_t below, and that is visible outside of the core. */ -#ifdef U64TYPE -# if !defined(_MSC_VER) || _MSC_VER >= 1300 +#if defined(U64TYPE) && !defined(USING_MSVC6) /* use a faster implementation when quads are available, * but not with VC6 on Windows */ # define PERL_DRAND48_QUAD -# endif #endif #ifdef PERL_DRAND48_QUAD |