summary refs log tree commit diff
path: root/conf/portability.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-08-07 18:24:47 +0000
committerRoland McGrath <roland@gnu.org>1995-08-07 18:24:47 +0000
commit99a9e88e55c4cb46ce645aedac3e5d1a906dfd69 (patch)
tree41578c33d0c64ba2a51cf3f5df1109b782226f6d /conf/portability.h
parent5e98d83c10427044f41fa3a48d49bbdd0e176b41 (diff)
downloadglibc-99a9e88e55c4cb46ce645aedac3e5d1a906dfd69.tar.gz
glibc-99a9e88e55c4cb46ce645aedac3e5d1a906dfd69.tar.xz
glibc-99a9e88e55c4cb46ce645aedac3e5d1a906dfd69.zip
Mon Aug 7 14:04:36 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
	* sysdeps/generic/sysd-stdio.c (__stdio_reopen): Return failure
 	when __stdio_open fails with a code other than ENFILE or EMFILE.

	* csu/initfini.c (SECTION): New macro, different definitions for
 	#ifdef HAVE_ELF and not.
	(_init, _fini): Use that macro.
	* config.make.in (have-initfini): New variable, set by configure.
	* conf/portability.h (NEED_INETADDR, NEED_INETATON): New macros.
Diffstat (limited to 'conf/portability.h')
-rw-r--r--conf/portability.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/portability.h b/conf/portability.h
index ab41b5d977..a3c6302544 100644
--- a/conf/portability.h
+++ b/conf/portability.h
@@ -18,3 +18,9 @@
    #ifdef sun.  */
 
 #undef sun
+
+/* The source code copied from BIND for inet_addr/inet_aton
+   doesn't actually define the functions without these macros.  */
+
+#define NEED_INETADDR
+#define NEED_INETATON