diff options
author | Jan Dubois <jand@activestate.com> | 2010-07-21 18:00:07 -0700 |
---|---|---|
committer | Jan Dubois <jand@activestate.com> | 2010-07-21 18:00:07 -0700 |
commit | 6d8f7c99d6105c3e91ba7907750682703fe0414b (patch) | |
tree | e94ccf3f1bf1ebbf4f9b1c3c311d3b4568a5d1ef /win32/makefile.mk | |
parent | 02e200fccc6abfac054810724450c50d9b2d96cb (diff) | |
download | perl-6d8f7c99d6105c3e91ba7907750682703fe0414b.tar.gz |
Get rid of obsolete PerlCRT.dll support
PerlCRT.dll was a patched version of MSVCRT.dll that fixed/worked
around a few known issues with Microsoft's C runtime library.
These issues have long been fixed by updates to MSVCRT.dll, and
AFAIK nobody has used PerlCRT.dll in almost 10 years now.
Diffstat (limited to 'win32/makefile.mk')
-rw-r--r-- | win32/makefile.mk | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/win32/makefile.mk b/win32/makefile.mk index 3dab6e8f01..7488bde137 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -140,17 +140,6 @@ CCTYPE *= GCC #CFG *= Debug # -# uncomment to enable use of PerlCRT.DLL when using the Visual C compiler. -# It has patches that fix known bugs in older versions of MSVCRT.DLL. -# This currently requires VC 5.0 with Service Pack 3 or later. -# Get it from CPAN at http://www.cpan.org/authors/id/D/DO/DOUGL/ -# and follow the directions in the package to install. -# -# Not recommended if you have VC 6.x and you're not running Windows 9x. -# -#USE_PERLCRT *= define - -# # uncomment to enable linking with setargv.obj under the Visual C # compiler. Setting this options enables perl to expand wildcards in # arguments, but it may be harder to use alternate methods like @@ -334,7 +323,6 @@ USE_ITHREADS *= undef USE_IMP_SYS *= undef USE_PERLIO *= undef USE_LARGE_FILES *= undef -USE_PERLCRT *= undef .IF "$(USE_IMP_SYS)" == "define" PERL_MALLOC = undef @@ -589,11 +577,7 @@ LOCDEFS = -DPERLDLL -DPERL_CORE SUBSYS = console CXX_FLAG = -TP -EHsc -.IF "$(USE_PERLCRT)" != "define" LIBC = msvcrt.lib -.ELSE -LIBC = PerlCRT.lib -.ENDIF .IF "$(CFG)" == "Debug" .IF "$(CCTYPE)" == "MSVC20" @@ -635,14 +619,12 @@ OPTIMIZE += -Wp64 -fp:precise DEFINES += -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE .ENDIF -# Use the MSVCRT read() fix if the PerlCRT was not chosen, but only when using -# VC++ 6.x or earlier. Later versions use MSVCR70.dll, MSVCR71.dll, etc, which -# do not require the fix. +# Use the MSVCRT read() fix only when using VC++ 6.x or earlier. Later +# versions use MSVCR70.dll, MSVCR71.dll, etc, which do not require the +# fix. .IF "$(CCTYPE)" == "MSVC20" || "$(CCTYPE)" == "MSVC" || "$(CCTYPE)" == "MSVC60" -.IF "$(USE_PERLCRT)" != "define" BUILDOPT += -DPERL_MSVCRT_READFIX .ENDIF -.ENDIF LIBBASEFILES = $(CRYPT_LIB) \ oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib \ @@ -658,7 +640,6 @@ LIBBASEFILES = $(CRYPT_LIB) \ LIBBASEFILES += bufferoverflowU.lib .ENDIF -# we add LIBC here, since we may be using PerlCRT.dll LIBFILES = $(LIBBASEFILES) $(LIBC) EXTRACFLAGS = -nologo -GF -W3 |