From 4ce4f76ea90ddd8879f53d5ef4d9ff6bb82eb5f0 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Sun, 5 Dec 1999 11:41:04 +0000 Subject: windows build tweaks for Borland compiler p4raw-id: //depot/perl@4654 --- win32/win32.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'win32/win32.c') 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); -- cgit v1.2.1