summary refs log tree commit diff
path: root/conform/data/signal.h-data
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-02-26 13:17:27 -0500
committerUlrich Drepper <drepper@gmail.com>2012-02-26 13:17:27 -0500
commit4efeffc1d583597e4f52985b9747269e47b754e2 (patch)
tree65bb598457542a0de30c60646173679c5ea42557 /conform/data/signal.h-data
parentc20105c398036c4fbeb99f8480ab84077a0f6f2c (diff)
downloadglibc-4efeffc1d583597e4f52985b9747269e47b754e2.tar.gz
glibc-4efeffc1d583597e4f52985b9747269e47b754e2.tar.xz
glibc-4efeffc1d583597e4f52985b9747269e47b754e2.zip
Fix up POSIX testing in conformtest
Diffstat (limited to 'conform/data/signal.h-data')
-rw-r--r--conform/data/signal.h-data7
1 files changed, 6 insertions, 1 deletions
diff --git a/conform/data/signal.h-data b/conform/data/signal.h-data
index 927211b28a..18f1b9e096 100644
--- a/conform/data/signal.h-data
+++ b/conform/data/signal.h-data
@@ -8,7 +8,12 @@ typed-constant SIG_IGN {void(*)(int)}
 type sig_atomic_t
 #if !defined ISO && !defined ISO99 && !defined ISO11
 type sigset_t
+#endif
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
 type pid_t
+#elif defined POSIX
+# define pid_t __pid_t
+# define uid_t __uid_t
 #endif
 #if defined XOPEN2K8 || defined POSIX2008
 type size_t
@@ -28,7 +33,7 @@ element {struct timespec} __time_t tv_sec
 element {struct timespec} long tv_nsec
 #endif
 
-#if defined UNIX98 || defined XOPEN2K8 || defined POSIX2008
+#if defined POSIX || defined UNIX98 || defined XOPEN2K8 || defined POSIX2008
 element {union sigval} int sival_int
 element {union sigval} {void*} sival_ptr