aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-08-23 22:01:57 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2004-08-23 22:01:57 +0000
commit4cb4a4710a0a47f3a14217e6225133b4b3d3bf96 (patch)
treee3a6e9a35e756b4e7379cf135f63e1d56852bcb3 /winsup/w32api
parentace32bda796ea24fb00ff33cfe6d0dd15e0070a6 (diff)
downloadnewlib-4cb4a4710a0a47f3a14217e6225133b4b3d3bf96.zip
newlib-4cb4a4710a0a47f3a14217e6225133b4b3d3bf96.tar.gz
newlib-4cb4a4710a0a47f3a14217e6225133b4b3d3bf96.tar.bz2
2004-08-24 Sam Robb <samrobb@users.sourceforge.net>
* include/winbase.h (GetFileSizeEx): Add _WIN32_WINNT >= 0x0500 guard.
Diffstat (limited to 'winsup/w32api')
-rw-r--r--winsup/w32api/ChangeLog5
-rw-r--r--winsup/w32api/include/winbase.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index e63634a..172225f 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-24 Sam Robb <samrobb@users.sourceforge.net>
+
+ * include/winbase.h (GetFileSizeEx): Add _WIN32_WINNT >= 0x0500
+ guard.
+
2004-08-24 Danny Smith <dannysmith@users.sourceforge.net>
* include/winbase.h: Add WINBASEAPI token to prototypes, throughout.
diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h
index 2ee3780..a71fff2 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)