Author: joes Date: Wed Dec 15 17:20:03 2004 New Revision: 112720 URL: http://svn.apache.org/viewcvs?view=rev&rev=112720 Log:
Drop the useless WIN32 conditional for APREQ_DECLARE_(HOOK|PARSER). Hooks and parsers are invoked internally through function pointers, so they should always be using the APREQ_DECLARE_NONSTD declaration. which already has apr's Win32 logic built into it. Modified: httpd/apreq/trunk/src/apreq_params.h Modified: httpd/apreq/trunk/src/apreq_params.h Url: http://svn.apache.org/viewcvs/httpd/apreq/trunk/src/apreq_params.h?view=diff&rev=112720&p1=httpd/apreq/trunk/src/apreq_params.h&r1=112719&p2=httpd/apreq/trunk/src/apreq_params.h&r2=112720 ============================================================================== --- httpd/apreq/trunk/src/apreq_params.h (original) +++ httpd/apreq/trunk/src/apreq_params.h Wed Dec 15 17:20:03 2004 @@ -232,24 +232,14 @@ /** * 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.
