]> Savannah Git Hosting - gnulib.git/commitdiff
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 a7de51ccc7bbcc78cc95d2322a82f14730ac238d..4050de53921b000e82c6c4461cbb8aba52795b97 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 40a24b3e120be349473bef796de911b15ce7863f..5b2320338f4ce6864d1df6a5e826b3694dac62e9 100644 (file)
@@ -10,10 +10,6 @@ Portability problems fixed by Gnulib:
 @item
 @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:
index 6e6394fdc90033ebfc83b28b2ff7799eee79d817..3454b23fa0c9db97ea91a3ecc7729a6c193ae695 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