about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-23 11:04:09 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-23 11:04:09 +0000
commit7df789e05906a883d03ed2cb2c400356350767cc (patch)
treeadd7f546a432615f01f0b1939fa20cc5b02ee67d /sysdeps
parent1cc2b04ed7932364d53baf58d0730acbaa1b4bb7 (diff)
downloadglibc-7df789e05906a883d03ed2cb2c400356350767cc.tar.gz
glibc-7df789e05906a883d03ed2cb2c400356350767cc.tar.xz
glibc-7df789e05906a883d03ed2cb2c400356350767cc.zip
Update.
1999-06-23  Zack Weinberg  <zack@rabi.columbia.edu>

	* libio/stdio.h: Define stdin, stdout, stderr as macros.
	* math/complex.h: Don't define
	CX_LIMITED_RANGE_{ON,OFF,DEFAULT}.  These are *pragmas* not
	macros.
	* wcsmbs/wchar.h: Fix comment.

	* grp/grp.h: Use __foo_t_defined convention to typedef things
	only once.
	* io/sys/stat.h: Likewise.
	* libio/stdio.h: Likewise.
	* posix/unistd.h: Likewise.
	* posix/sys/types.h: Likewise.
	* posix/sys/wait.h: Likewise.
	* pwd/pwd.h: Likewise.
	* signal/signal.h: Likewise.
	* sysdeps/generic/stdint.h: Likewise.
	* sysdeps/gnu/utmpx.h: Likewise.
	* termios/termios.h: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/stdint.h8
-rw-r--r--sysdeps/gnu/utmpx.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/generic/stdint.h b/sysdeps/generic/stdint.h
index ed34451391..a0d1c64901 100644
--- a/sysdeps/generic/stdint.h
+++ b/sysdeps/generic/stdint.h
@@ -114,15 +114,15 @@ typedef unsigned long long int	uint_fast64_t;
 
 /* Types for `void *' pointers.  */
 #if __WORDSIZE == 64
-# ifndef intptr_t
+# ifndef __intptr_t_defined
 typedef long int		intptr_t;
-#  define intptr_t intptr_t
+#  define __intptr_t_defined
 # endif
 typedef unsigned long int	uintptr_t;
 #else
-# ifndef intptr_t
+# ifndef __intptr_t_defined
 typedef int			intptr_t;
-#  define intptr_t intptr_t
+#  define __intptr_t_defined
 # endif
 typedef unsigned int		uintptr_t;
 #endif
diff --git a/sysdeps/gnu/utmpx.h b/sysdeps/gnu/utmpx.h
index 916a2c5936..a7b58daf7f 100644
--- a/sysdeps/gnu/utmpx.h
+++ b/sysdeps/gnu/utmpx.h
@@ -23,9 +23,9 @@
 #include <sys/time.h>
 
 /* Required according to Unix98.  */
-#ifndef pid_t
+#ifndef __pid_t_defined
 typedef __pid_t pid_t;
-# define pid_t pid_t
+# define __pid_t_defined
 #endif
 
 /* Get system dependent values and data structures.  */