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/win32 apr_private.h
Date Sat, 24 Nov 2001 16:59:09 GMT
wrowe       01/11/24 08:59:09

  Modified:    include/arch/win32 apr_private.h
  Log:
    Take advantage of Krzysztof Kowalczyk's <arslexis@yahoo.com> observation
    that wtypes.h can be foiled on VC98.  This hadn't presented an issue on
    VC5.0/current Platform SDKs, however this should resolve problematic GUI
    symbols (which we've carefully avoided throughout APR) for all VC builders.
  
  Revision  Changes    Path
  1.28      +8 -0      apr/include/arch/win32/apr_private.h
  
  Index: apr_private.h
  ===================================================================
  RCS file: /home/cvs/apr/include/arch/win32/apr_private.h,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- apr_private.h	2001/11/21 18:08:47	1.27
  +++ apr_private.h	2001/11/24 16:59:09	1.28
  @@ -78,8 +78,16 @@
   #endif
   
   /* For the misc.h late-loaded dynamic symbols, we need some obscure types 
  + * Avoid dragging in wtypes.h unless it's absolutely necessary [generally
  + * not with APR itself, until some GUI-related security is introduced.]
    */
  +#ifdef __wtypes_h__
   #include <accctrl.h>
  +#else
  +#define __wtypes_h__
  +#include <accctrl.h>
  +#undef __wtypes_h__
  +#endif
   
   #include <sys/types.h>
   #include <stddef.h>
  
  
  

Mime
View raw message