diff options
author | Daniel Dragan <bulk88@hotmail.com> | 2016-01-26 00:02:56 -0500 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2016-01-27 14:19:07 +1100 |
commit | f3c6f22e7318c8711613a58d4b041922a6465567 (patch) | |
tree | eb29443dbd1eb917f87e882470b1aae9b1155816 /ext/XS-APItest/APItest.xs | |
parent | 6368ab83389bbb63c0dfff79297f52b92053226e (diff) | |
download | perl-f3c6f22e7318c8711613a58d4b041922a6465567.tar.gz |
fix link failure of APItest.dll on VC 6
alloca is the newer "standardized" name which modern VCs support.
In VC 6, only _alloca exists, which is the prestandardized name, use it to
fix a linker failure.
Diffstat (limited to 'ext/XS-APItest/APItest.xs')
-rw-r--r-- | ext/XS-APItest/APItest.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/XS-APItest/APItest.xs b/ext/XS-APItest/APItest.xs index e542611c4d..51924a8d47 100644 --- a/ext/XS-APItest/APItest.xs +++ b/ext/XS-APItest/APItest.xs @@ -5547,7 +5547,7 @@ Comctl32Version() croak("Comctl32Version: comctl32.dll no version???"); ver = LoadResource(dll, hrsc); len = SizeofResource(dll, hrsc); - vercopy = alloca(len); + vercopy = _alloca(len); memcpy(vercopy, ver, len); if (VerQueryValue(vercopy, "\\", (void**)&info, &len)) { int dwValueMS1 = (info->dwFileVersionMS>>16); |