This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: A problem with timespec
- To: hjl@lucon.org (H.J. Lu)
- Subject: Re: A problem with timespec
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 27 Oct 1998 11:49:13 -0800
- Cc: libc-hacker@cygnus.com (GNU C Library)
- References: <m0zYF5A-0000V6C@sea.lucon.org>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
hjl@lucon.org (H.J. Lu) writes:
> VSX-PCT doesn't like
>
> struct timespec
> {
> long int tv_sec; /* Seconds. */
> long int tv_nsec; /* Nanoseconds. */
> };
>
> It defines -D_POSIX_C_SOURCE=199506.
In what context? timespec certainly is needed and since it is part of
POSIX.1b it must be available if _POSIX_C_SOURCE=199506 is selected.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------