From: Jeff Trawick Date: Tue, 9 Oct 2001 19:29:46 +0000 (+0000) Subject: AIX 5L has socklen_t, so use it so we avoid some warnings X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b699c4eee9bcc3d365f7d7ea75a7ffd2dfd8386;p=thirdparty%2Fapache%2Fhttpd.git AIX 5L has socklen_t, so use it so we avoid some warnings AIX 4.3.3 has socklen_t too, but a) I don't know if all 4.3 (e.g., 4.3.0) has it b) I don't see the warning on 4.3 c) it isn't a possible 64-bit vs. 32-bit problem, so I'm not worried about run-time breakage git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@91392 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/include/ap_config.h b/src/include/ap_config.h index 2b00f7e1cfb..01a5426b006 100644 --- a/src/include/ap_config.h +++ b/src/include/ap_config.h @@ -290,7 +290,9 @@ typedef int rlim_t; #ifdef USEBCOPY #define memmove(a,b,c) bcopy(b,a,c) #endif -#if AIX >= 42 +#if AIX >= 51 +#define NET_SIZE_T socklen_t +#elif AIX >= 42 #define NET_SIZE_T size_t #endif