# HG changeset patch # User Bruno Haible # Date 1316560205 -7200 # Node ID 100f7d4f443de8d7e947c2ef85279622d1d9b5d4 # Parent 8e2b0feee111f7e80e473d0d8178c6a4fd48552c 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. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ 2011-09-20 Bruno Haible 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 diff --git a/doc/posix-headers/time.texi b/doc/posix-headers/time.texi --- a/doc/posix-headers/time.texi +++ b/doc/posix-headers/time.texi @@ -11,10 +11,6 @@ @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 diff --git a/m4/time_h.m4 b/m4/time_h.m4 --- a/m4/time_h.m4 +++ b/m4/time_h.m4 @@ -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_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