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_params.h
Date Sat, 05 Jun 2004 22:59:28 GMT
randyk      2004/06/05 15:59:28

  Modified:    src      apreq_params.h
  Log:
  Reviewed by:	joes
  use APREQ_DECLARE_NONSTD, rather than APREQ_DECLARE, for defining
  APREQ_DECLARE_PARSER and APREQ_DECLARE_HOOK on Win32.
  
  Revision  Changes    Path
  1.29      +10 -0     httpd-apreq-2/src/apreq_params.h
  
  Index: apreq_params.h
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/src/apreq_params.h,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- apreq_params.h	4 Jun 2004 22:02:11 -0000	1.28
  +++ apreq_params.h	5 Jun 2004 22:59:28 -0000	1.29
  @@ -232,14 +232,24 @@
   /**
    * Declares a API parser.
    */
  +#ifndef WIN32
   #define APREQ_DECLARE_PARSER(f) APREQ_DECLARE(apr_status_t) \
                                   (f) APREQ_PARSER_ARGS
  +#else
  +#define APREQ_DECLARE_PARSER(f) APREQ_DECLARE_NONSTD(apr_status_t) \
  +                                (f) APREQ_PARSER_ARGS
  +#endif
   
   /**
    * Declares an API hook.
    */
  +#ifndef WIN32
   #define APREQ_DECLARE_HOOK(f)   APREQ_DECLARE(apr_status_t) \
                                   (f) APREQ_HOOK_ARGS
  +#else
  +#define APREQ_DECLARE_HOOK(f)   APREQ_DECLARE_NONSTD(apr_status_t) \
  +                                (f) APREQ_HOOK_ARGS
  +#endif
   
   /**
    * Singly linked list of hooks.
  
  
  

Mime
View raw message