]> Savannah Git Hosting - gnulib.git/commitdiff
time tests: Don't require pid_t.
authorBruno Haible <bruno@clisp.org>
Tue, 20 Sep 2011 23:03:23 +0000 (01:03 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 20 Sep 2011 23:03:23 +0000 (01:03 +0200)
* tests/test-time.c: Comment out the check for pid_t.

ChangeLog
tests/test-time.c

index 053a661b85c005add9432ef18855ad6d2d390117..a7de51ccc7bbcc78cc95d2322a82f14730ac238d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-20  Bruno Haible  <bruno@clisp.org>
+
+       time tests: Don't require pid_t.
+       * tests/test-time.c: Comment out the check for pid_t.
+
 2011-09-20  Bruno Haible  <bruno@clisp.org>
 
        fsync tests: Avoid a test failure on mingw.
index df4710d445d95980a3b3d576afe0459713a25b85..d499a5ca165f2f3ef895d7c1bac4e42ec5d3cc86 100644 (file)
 
 /* Check that the types are all defined.  */
 struct timespec t1;
+#if 0
+/* POSIX:2008 does not require pid_t in <time.h> unconditionally, and indeed
+   it's missing on MacOS X 10.5, FreeBSD 6.4, OpenBSD 4.9, mingw.  */
 pid_t t2;
+#endif
 
 /* Check that NULL can be passed through varargs as a pointer type,
    per POSIX 2008.  */