From 4cb4a4710a0a47f3a14217e6225133b4b3d3bf96 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Mon, 23 Aug 2004 22:01:57 +0000 Subject: [PATCH] 2004-08-24 Sam Robb * include/winbase.h (GetFileSizeEx): Add _WIN32_WINNT >= 0x0500 guard. --- winsup/w32api/ChangeLog | 5 +++++ winsup/w32api/include/winbase.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index e63634a4a..172225f62 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +2004-08-24 Sam Robb + + * include/winbase.h (GetFileSizeEx): Add _WIN32_WINNT >= 0x0500 + guard. + 2004-08-24 Danny Smith * include/winbase.h: Add WINBASEAPI token to prototypes, throughout. diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index 2ee378041..a71fff2a1 100644 --- a/winsup/w32api/include/winbase.h +++ b/winsup/w32api/include/winbase.h @@ -1365,7 +1365,9 @@ WINBASEAPI BOOL WINAPI GetFileInformationByHandle(HANDLE,LPBY_HANDLE_FILE_INFORM WINBASEAPI BOOL WINAPI GetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); WINBASEAPI BOOL WINAPI GetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); WINBASEAPI DWORD WINAPI GetFileSize(HANDLE,PDWORD); +#if (_WIN32_WINNT >= 0x0500) WINBASEAPI BOOL WINAPI GetFileSizeEx(HANDLE,PLARGE_INTEGER); +#endif WINBASEAPI BOOL WINAPI GetFileTime(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME); WINBASEAPI DWORD WINAPI GetFileType(HANDLE); #define GetFreeSpace(w) (0x100000L)