diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-05 11:41:04 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-05 11:41:04 +0000 |
commit | 4ce4f76ea90ddd8879f53d5ef4d9ff6bb82eb5f0 (patch) | |
tree | a84b60638550f8c515be135597948b09f565e1bb /win32/win32.c | |
parent | 7a958ec31151f9d03a26dcab8abdf5c57315dc96 (diff) | |
download | perl-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.c | 5 |
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); |