summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-05 11:41:04 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-05 11:41:04 +0000
commit4ce4f76ea90ddd8879f53d5ef4d9ff6bb82eb5f0 (patch)
treea84b60638550f8c515be135597948b09f565e1bb /win32/win32.c
parent7a958ec31151f9d03a26dcab8abdf5c57315dc96 (diff)
downloadperl-4ce4f76ea90ddd8879f53d5ef4d9ff6bb82eb5f0.tar.gz
windows build tweaks for Borland compiler
p4raw-id: //depot/perl@4654
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 4c13d4ae1e..4e673524a2 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -2369,8 +2369,13 @@ Nt4CreateHardLinkW(
StreamId.dwStreamId = BACKUP_LINK;
StreamId.dwStreamAttributes = 0;
StreamId.dwStreamNameSize = 0;
+#ifdef __BORLANDC__
+ StreamId.Size.u.HighPart = 0;
+ StreamId.Size.u.LowPart = dwLen;
+#else
StreamId.Size.HighPart = 0;
StreamId.Size.LowPart = dwLen;
+#endif
bSuccess = pfnBackupWrite(handle, (LPBYTE)&StreamId, dwSize, &dwWritten,
FALSE, FALSE, &lpContext);