about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-28 14:41:59 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-28 14:41:59 +0000
commit6e2cc2c14732fc3e5f3d8b8e86c23c32899fbb76 (patch)
tree308634e4598dc78e096fa0efc4c2507bc6a94e97 /string
parentc70ca1fa69c9a95108664b4132b7188a686cc9e4 (diff)
downloadglibc-6e2cc2c14732fc3e5f3d8b8e86c23c32899fbb76.tar.gz
glibc-6e2cc2c14732fc3e5f3d8b8e86c23c32899fbb76.tar.xz
glibc-6e2cc2c14732fc3e5f3d8b8e86c23c32899fbb76.zip
Update.
1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 
 
	* string/bits/string2.h: __USE_GNU already implies __USE_MISC. 
 
1998-10-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de> 

	* sysdeps/generic/bits/types.h (__FDS_BITS): New macro to access 
	fds_bits member. 
	* sysdeps/unix/sysv/linux/alpha/bits/types.h (__FDS_BITS): Likewise. 
	* sysdeps/unix/sysv/linux/bits/types.h (__FDS_BITS): Likewise. 
	* sysdeps/unix/sysv/linux/mips/bits/types.h (__FDS_BITS): Likewise. 
	* sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h (__FDS_BITS): 
	Likewise. 
	* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h (__FDS_BITS): 
	Likewise. 
	* sysdeps/generic/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR, 
	__FD_ISSET): Use it. 
	* sysdeps/i386/bits/select.h (__FD_ZERO, __FD_SET, __FD_CLR, 
	__FD_ISSET): Likewise. 
Diffstat (limited to 'string')
-rw-r--r--string/bits/string2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/bits/string2.h b/string/bits/string2.h
index cfbcc18aa0..4efa5251f7 100644
--- a/string/bits/string2.h
+++ b/string/bits/string2.h
@@ -1013,7 +1013,7 @@ __strsep_g (char **__s, __const char *__reject)
 /* We need the memory allocation functions for inline strdup().
    Referring to stdlib.h (even minimally) is not allowed 
    in any of the tight standards compliant modes.  */
-#if defined __USE_MISC || defined __USE_GNU
+#ifdef __USE_MISC
 
 # if !defined _HAVE_STRING_ARCH_strdup || !defined _HAVE_STRING_ARCH_strndup
 #  define __need_malloc_and_calloc