From: Bruno Haible Date: Tue, 20 Sep 2011 23:10:05 +0000 (+0200) Subject: time tests: Don't require pid_t. X-Git-Tag: v0.1~1795 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=3a23fb2a14bef0ae2e48cee0955f95e252b0bcd2;p=gnulib.git 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 index a7de51ccc..4050de539 100644 --- 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 index 40a24b3e1..5b2320338 100644 --- a/doc/posix-headers/time.texi +++ b/doc/posix-headers/time.texi @@ -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 diff --git a/m4/time_h.m4 b/m4/time_h.m4 index 6e6394fdc..3454b23fa 100644 --- 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_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