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 | |
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')
-rw-r--r-- | win32/Makefile | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/win32/Makefile b/win32/Makefile index 4d5690fbc8..40aa60f066 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -124,17 +124,6 @@ CCTYPE = MSVC60 #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 @@ -308,10 +297,6 @@ USE_PERLIO = undef USE_LARGE_FILES = undef !ENDIF -!IF "$(USE_PERLCRT)" == "" -USE_PERLCRT = undef -!ENDIF - !IF "$(USE_IMP_SYS)$(USE_MULTI)" == "defineundef" USE_MULTI = define !ENDIF @@ -444,11 +429,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" @@ -490,13 +471,11 @@ OPTIMIZE = $(OPTIMIZE) -fp:precise DEFINES = $(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 = $(BUILDOPT) -DPERL_MSVCRT_READFIX -! ENDIF !ENDIF LIBBASEFILES = $(CRYPT_LIB) \ @@ -513,7 +492,6 @@ LIBBASEFILES = $(CRYPT_LIB) \ LIBBASEFILES = $(LIBBASEFILES) bufferoverflowU.lib !ENDIF -# we add LIBC here, since we may be using PerlCRT.dll LIBFILES = $(LIBBASEFILES) $(LIBC) #EXTRACFLAGS = -nologo -GF -W4 -wd4127 -wd4706 |