- 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