X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-time.c;h=c06013675f61d96721736adc386744b5afa86fcb;hb=4779b635ef35c7b0bc4044fcb5bc746d06f158c4;hp=df4710d445d95980a3b3d576afe0459713a25b85;hpb=0b88a15dca93414df75ff004811c8e2573d593e3;p=gnulib.git diff --git a/tests/test-time.c b/tests/test-time.c index df4710d44..c06013675 100644 --- a/tests/test-time.c +++ b/tests/test-time.c @@ -1,5 +1,5 @@ /* Test of substitute. - Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. + Copyright (C) 2007, 2009-2013 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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 Mac OS 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. */