mingw32 doesn't have anonymous union (from Benjamin Stuhl
authorGurusamy Sarathy <gsar@cpan.org>
Thu, 16 Dec 1999 08:33:28 +0000 (08:33 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Thu, 16 Dec 1999 08:33:28 +0000 (08:33 +0000)
<sho_pi@hotmail.com>)

p4raw-id: //depot/perl@4682

win32/win32.c

index 4e67352..4fcf6aa 100644 (file)
@@ -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