diff options
author | Steve Hay <SteveHay@planit.com> | 2006-11-06 16:26:48 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2006-11-06 16:26:48 +0000 |
commit | 0448a0bdbfbd5e00696d6b3361b97fb1190434c1 (patch) | |
tree | aee26d3aecc84963e69f9af0e0096db9101578d1 /win32/makefile.mk | |
parent | f8e2af1d968a8698b0c7b9d7a7879c75d8529d80 (diff) | |
download | perl-0448a0bdbfbd5e00696d6b3361b97fb1190434c1.tar.gz |
Get Visual C++ 2005 (aka Visual C++ 8.x) support off the ground
This is not a complete fix yet by any means (there are lots of compiler
warnings and lots of test failures), but it's a step in the right
direction.
See the thread starting here:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-10/msg00893.html
and continuing here:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-11/msg00102.html
for further information
p4raw-id: //depot/perl@29218
Diffstat (limited to 'win32/makefile.mk')
-rw-r--r-- | win32/makefile.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/makefile.mk b/win32/makefile.mk index 92263ba333..7c9fca7a57 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -485,6 +485,7 @@ EXEOUT_FLAG = -o LIBOUT_FLAG = # NOTE: we assume that GCC uses MSVCRT.DLL +# See comments about PERL_MSVCRT_rEADFIX in the "cl" compiler section below. BUILDOPT += -fno-strict-aliasing -DPERL_MSVCRT_READFIX .ELSE @@ -544,6 +545,9 @@ DEFINES += -DWIN64 -DCONSERVATIVE OPTIMIZE += -Wp64 -fp:precise .ENDIF +# Use the MSVCRT read() fix if the PerlCRT was not chosen. This may be not +# necessary with recent MSVCRT's, but we use the fix anyway in case this build +# is going to be run on a system with an old MSVCRT. .IF "$(USE_PERLCRT)" != "define" BUILDOPT += -DPERL_MSVCRT_READFIX .ENDIF |