diff options
author | Karl Williamson <khw@cpan.org> | 2020-12-04 08:01:31 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2020-12-06 13:57:11 -0700 |
commit | bc113a9f23ba6ec568379797d3ba5382c941e062 (patch) | |
tree | 4ccaaf31f588d164f0e8e57a8d81dd3943cab6c1 /perl.h | |
parent | 1442da54429bca166af716cb981dc150644ad203 (diff) | |
download | perl-bc113a9f23ba6ec568379797d3ba5382c941e062.tar.gz |
Not all Win32 compilers have a small macro buffer
Commit e7ae132ec78 consolidated PERL_SMALL_MACRO_BUFFER usages, but it
omitted the _MSC_VER number at which the buffer became large enough.
Apparently it did this because Windows compilations were failing with
the error "string too long", which doesn't happen if __ASSERT_ expands
to nothing, which it does under PERL_SMALL_MACRO_BUFFER.
However, commits 92a0bb2 and 88086fd shortened the offending strings
so later Windows compilers don't have to be considered as having small
macro buffers.
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -529,7 +529,7 @@ __typeof__ and nothing else. # endif #endif -#if defined(_MSC_VER) +#if defined(_MSC_VER) && _MSC_VER < 1400 /* XXX older MSVC versions have a smallish macro buffer */ #define PERL_SMALL_MACRO_BUFFER #endif |