OSDN Git Service

Add define for missing EAI_ADDRFAMILY in BSD/OS 4.3.
authorBruce Momjian <bruce@momjian.us>
Thu, 22 May 2003 19:14:25 +0000 (19:14 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 22 May 2003 19:14:25 +0000 (19:14 +0000)
src/include/port/bsdi.h

index f486536..e5ba051 100644 (file)
@@ -8,3 +8,8 @@
 #define HAS_TEST_AND_SET
 
 typedef unsigned char slock_t;
+
+/* This is marked as obsoleted in BSD/OS 4.3. */
+#ifndef EAI_ADDRFAMILY
+#define  EAI_ADDRFAMILY                1
+#endif