]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
AIX 5L has socklen_t, so use it so we avoid some warnings
authorJeff Trawick <trawick@apache.org>
Tue, 9 Oct 2001 19:29:46 +0000 (19:29 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 9 Oct 2001 19:29:46 +0000 (19:29 +0000)
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

src/include/ap_config.h

index 2b00f7e1cfbadafd084782f5651caf701c2b14bc..01a5426b006ba1ccbd92af2560d6d88aa1db5308 100644 (file)
@@ -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