apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/include/arch/unix misc.h
Date Tue, 20 Nov 2001 02:52:22 GMT
wrowe       01/11/19 18:52:22

  Modified:    include/arch/unix misc.h
  Log:
    I have _no_ fing idea why all this cruft accumulated in a unix/misc.h
    include, but I have no time tonight to refactor.  This aught to allow
    Win95 to bind the .dlls by late-linking offensive fns [unlike most
    anticipated but unimplemented functions, these symbols don't have win95
    linkage.]
  
  Revision  Changes    Path
  1.30      +14 -0     apr/include/arch/unix/misc.h
  
  Index: misc.h
  ===================================================================
  RCS file: /home/cvs/apr/include/arch/unix/misc.h,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- misc.h	2001/09/20 20:48:26	1.29
  +++ misc.h	2001/11/20 02:52:22	1.30
  @@ -160,13 +160,27 @@
    * In the case of non-text functions, simply #define the original name
    */
   
  +#ifdef GetFileAttributesExA
  +#undef GetFileAttributesExA
  +#endif
   APR_DECLARE_LATE_DLL_FUNC(DLL_WINBASEAPI, BOOL, WINAPI, GetFileAttributesExA, 0, (
       IN LPCSTR lpFileName,
       IN GET_FILEEX_INFO_LEVELS fInfoLevelId,
       OUT LPVOID lpFileInformation),
       (lpFileName, fInfoLevelId, lpFileInformation));
  +#define GetFileAttributesExA apr_winapi_GetFileAttributesExA
   #undef GetFileAttributesEx
   #define GetFileAttributesEx apr_winapi_GetFileAttributesExA
  +
  +#ifdef GetFileAttributesExW
  +#undef GetFileAttributesExW
  +#endif
  +APR_DECLARE_LATE_DLL_FUNC(DLL_WINBASEAPI, BOOL, WINAPI, GetFileAttributesExW, 0, (
  +    IN LPCWSTR lpFileName,
  +    IN GET_FILEEX_INFO_LEVELS fInfoLevelId,
  +    OUT LPVOID lpFileInformation),
  +    (lpFileName, fInfoLevelId, lpFileInformation));
  +#define GetFileAttributesExW apr_winapi_GetFileAttributesExW
   
   APR_DECLARE_LATE_DLL_FUNC(DLL_WINBASEAPI, BOOL, WINAPI, CancelIo, 0, (
       IN HANDLE hFile),
  
  
  

Mime
View raw message