time tests: Don't require pid_t.
authorBruno Haible <bruno@clisp.org>
Tue, 20 Sep 2011 23:10:05 +0000 (01:10 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 20 Sep 2011 23:10:05 +0000 (01:10 +0200)
* doc/posix-headers/time.texi: Revert last change.
* m4/time_h.m4 (gl_HEADER_TIME_H_BODY): Revert last change.
* tests/test-time.c: Comment out the check for pid_t.

ChangeLog
doc/posix-headers/time.texi
m4/time_h.m4

index a7de51c..4050de5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
 2011-09-20  Bruno Haible  <bruno@clisp.org>
 
        time tests: Don't require pid_t.
+       * doc/posix-headers/time.texi: Revert last change.
+       * m4/time_h.m4 (gl_HEADER_TIME_H_BODY): Revert last change.
        * tests/test-time.c: Comment out the check for pid_t.
 
 2011-09-20  Bruno Haible  <bruno@clisp.org>
index 40a24b3..5b23203 100644 (file)
@@ -11,10 +11,6 @@ Portability problems fixed by Gnulib:
 @samp{struct timespec} is not defined on some platforms.
 
 @item
-The type @code{pid_t} is not defined on some platforms:
-MSVC 9.
-
-@item
 Some platforms provide a @code{NULL} macro that cannot be used in arbitrary
 expressions:
 NetBSD 5.0
index 6e6394f..3454b23 100644 (file)
@@ -2,7 +2,7 @@
 
 # Copyright (C) 2000-2001, 2003-2007, 2009-2011 Free Software Foundation, Inc.
 
-# serial 5
+# serial 6
 
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -23,9 +23,6 @@ AC_DEFUN([gl_HEADER_TIME_H_BODY],
   AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
   gl_NEXT_HEADERS([time.h])
   AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC])
-
-  dnl Ensure the type pid_t gets defined.
-  AC_REQUIRE([AC_TYPE_PID_T])
 ])
 
 dnl Define HAVE_STRUCT_TIMESPEC if `struct timespec' is declared