OSDN Git Service

2004-08-24 Sam Robb <samrobb@users.sourceforge.net>
authordannysmith <dannysmith>
Mon, 23 Aug 2004 22:01:55 +0000 (22:01 +0000)
committerdannysmith <dannysmith>
Mon, 23 Aug 2004 22:01:55 +0000 (22:01 +0000)
* include/winbase.h (GetFileSizeEx): Add _WIN32_WINNT >= 0x0500
guard.

winsup/w32api/ChangeLog
winsup/w32api/include/winbase.h

index e63634a..172225f 100644 (file)
@@ -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.
index 2ee3780..a71fff2 100644 (file)
@@ -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)