httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject cvs commit: httpd-apreq-2/src apreq.h
Date Sun, 04 May 2003 20:45:25 GMT
randyk      2003/05/04 13:45:25

  Modified:    src      apreq.h
  Log:
  For Win32,
  - don't use APR_INLINE, so functions will be added to libapreq.lib.
  - temporary workaround until the proper form of APREQ_DECLARE can
    be worked out.
  
  Revision  Changes    Path
  1.16      +13 -1     httpd-apreq-2/src/apreq.h
  
  Index: apreq.h
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/src/apreq.h,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- apreq.h	23 Apr 2003 06:48:57 -0000	1.15
  +++ apreq.h	4 May 2003 20:45:25 -0000	1.16
  @@ -8,12 +8,24 @@
    extern "C" {
   #endif 
   
  -
  +/* XXX temporary workaround for Win32 */
  +#ifndef WIN32
   #define APREQ_DECLARE(d)                APR_DECLARE(d)
   #define APREQ_DECLARE_NONSTD(d)         APR_DECLARE_NONSTD(d)
  +#else
  +#define APREQ_DECLARE(d)                d
  +#define APREQ_DECLARE_NONSTD(d)         d
  +#endif
  +
   #define APREQ_URL_ENCTYPE               "application/x-www-form-urlencoded"
   #define APREQ_MFD_ENCTYPE               "multipart/form-data"
   #define APREQ_XML_ENCTYPE               "application/xml"
  +
  +/* XXX WIN32 doesn't seem to put APR_INLINE fns into the lib */
  +#ifdef WIN32
  +#undef APR_INLINE
  +#define APR_INLINE
  +#endif
   
   #define APREQ_NELTS                     8
   
  
  
  

Mime
View raw message