'ssize_t' seems to be a gcc 4.x built-in.
authorGisle Vanem <gvanem@broadpark.no>
Sat, 14 May 2005 05:59:26 +0000 (05:59 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Sat, 14 May 2005 05:59:26 +0000 (05:59 +0000)
lib/config.dj

index 4b53bd9..04cf4db 100644 (file)
@@ -15,6 +15,7 @@
 #define HAVE_BASENAME          1
 #define HAVE_CLOSESOCKET       1
 #define HAVE_FCNTL_H           1
+#define HAVE_FIONBIO           1
 #define HAVE_GETHOSTBYADDR     1
 #define HAVE_GETHOSTNAME       1
 #define HAVE_GETPASS           1
 
 #define in_addr_t  u_long
 #define socklen_t  int
+
+#if __GNUC__ < 4   /* gcc 4.x built-in ? */
 #define ssize_t    int
+#endif
 
 #include <stdlib.h>
 #include <string.h>