httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [PATCH] mod_proxy -- enable using 2.1-HEAD on 2.0-HEAD
Date Mon, 02 Aug 2004 14:41:18 GMT
At 05:10 AM 8/1/2004, you wrote:
>--On Sunday, August 1, 2004 11:26 AM +0200 Mladen Turk <mturk@apache.org> wrote:
>
>>-        if ((rv = apr_socket_create(newsock, backend_addr->family,
>>+#if (APR_VERSION_MAJOR > 0)
>>+        if ((rv = apr_socket_create(
>>+#else
>>+        if ((rv = apr_socket_create_ex(
>>+#endif
>>+                                    newsock, backend_addr->family,
>
>Shouldn't that be APR_MAJOR_VERSION?  I'm also not sure how many C pre-processors handle
conditionals like that.  Does HP's and IBM's?  -- justin

Conditional #if evaluation was defined back in K&R and c89.




Mime
View raw message