This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix Windows build with CCTYPE=SDK2003SP1
authorSteve Hay <steve.m.hay@googlemail.com>
Fri, 24 Aug 2018 13:55:45 +0000 (14:55 +0100)
committerSteve Hay <steve.m.hay@googlemail.com>
Fri, 24 Aug 2018 13:55:45 +0000 (14:55 +0100)
commitb79cd7dfefcc16674b83ffdeb11687ea693b7845
tree541802d53724baceb1f35d4320cdcac06667d397
parent1a69c9a77ac2a743d30b59c01eee82abfd94666d
Fix Windows build with CCTYPE=SDK2003SP1

The Platform SDK 2003 SP1 x64 compiler has _MSC_VER 1400 like MSVC80, but
doesn't define _configthreadlocale() in the /MD (MSVCRT.DLL) version of
the CRT used by perl. (Compare C:\Program Files\Microsoft Platform SDK for
Windows Server 2003 R2\src\crt\setlocal.c with C:\Program Files (x86)\
Microsoft Visual Studio 8\VC\crt\src\setlocal.c. The latter always defines
_configthreadlocale(), but the former only does so when _MT is defined.)
win32/GNUmakefile
win32/Makefile
win32/makefile.mk