summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-16 08:33:28 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-16 08:33:28 +0000
commit9eaf016b1f0ee5c9f1c466e7c9deb66c2a8c9605 (patch)
treef2a89bdf037d080551e239f57b2a250a27917aca /win32
parent65d1664efdcaa3ffecec3d594747991ec92d197f (diff)
downloadperl-9eaf016b1f0ee5c9f1c466e7c9deb66c2a8c9605.tar.gz
mingw32 doesn't have anonymous union (from Benjamin Stuhl
<sho_pi@hotmail.com>) p4raw-id: //depot/perl@4682
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 4e673524a2..4fcf6aa6bb 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -2369,7 +2369,7 @@ Nt4CreateHardLinkW(
StreamId.dwStreamId = BACKUP_LINK;
StreamId.dwStreamAttributes = 0;
StreamId.dwStreamNameSize = 0;
-#ifdef __BORLANDC__
+#if defined(__BORLANDC__) || defined(__MINGW32__)
StreamId.Size.u.HighPart = 0;
StreamId.Size.u.LowPart = dwLen;
#else