# HG changeset patch # User Bruno Haible # Date 1316559803 -7200 # Node ID 8e2b0feee111f7e80e473d0d8178c6a4fd48552c # Parent d4ef28dc56e2ac3c71d12a6963129b393a219ae6 time tests: Don't require pid_t. * tests/test-time.c: Comment out the check for pid_t. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-09-20 Bruno Haible + + time tests: Don't require pid_t. + * tests/test-time.c: Comment out the check for pid_t. + 2011-09-20 Bruno Haible fsync tests: Avoid a test failure on mingw. diff --git a/tests/test-time.c b/tests/test-time.c --- a/tests/test-time.c +++ b/tests/test-time.c @@ -24,7 +24,11 @@ /* Check that the types are all defined. */ struct timespec t1; +#if 0 +/* POSIX:2008 does not require pid_t in unconditionally, and indeed + it's missing on MacOS X 10.5, FreeBSD 6.4, OpenBSD 4.9, mingw. */ pid_t t2; +#endif /* Check that NULL can be passed through varargs as a pointer type, per POSIX 2008. */