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 /handy.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 'handy.h')
-rw-r--r-- | handy.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -125,7 +125,7 @@ Null SV pointer. (No longer available when C<PERL_CORE> is defined.) #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (defined(__SUNPRO_C)) /* C99 or close enough. */ # define FUNCTION__ __func__ #else -# if (defined(_MSC_VER) && _MSC_VER < 1300) || /* MSVC6 has neither __func__ nor __FUNCTION and no good workarounds, either. */ \ +# if (defined(USING_MSVC6)) || /* MSVC6 has neither __func__ nor __FUNCTION and no good workarounds, either. */ \ (defined(__DECC_VER)) /* Tru64 or VMS, and strict C89 being used, but not modern enough cc (in Tur64, -c99 not known, only -std1). */ # define FUNCTION__ "" # else |