HomeFreeBSD

struct timespec needs to be useable with just <time.h>, but needs to not

Description

struct timespec needs to be useable with just <time.h>, but needs to not
conflict with the kernel visible one. Make the new stuff not visible if
_ANSI_SOURCE or _POSIX_SOURCE is defined (!) because the new things are
not part of the base 1003.1-1990 standard or ansi (says Bruce).

Reviewed by: bde

Details

Provenance
peterAuthored on May 13 1997, 10:58 AM
Parents
rG3c0a9567e518: Changes to support the kernel linker:
Branches
Unknown
Tags
Unknown

Event Timeline