Mercurial > hg > octave-kai > gnulib-hg
changeset 15731:100f7d4f443d
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.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 21 Sep 2011 01:10:05 +0200 |
parents | 8e2b0feee111 |
children | bad19c8ddacb |
files | ChangeLog doc/posix-headers/time.texi m4/time_h.m4 |
diffstat | 3 files changed, 3 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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>
--- 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
--- 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