tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Having to define _STANDALONE to get standard <time.h>
Hello,
I have probably missed something...
I'm on NetBSD 8.0.
In order to have only standard definitions in <time.h>, I have to
define not standard macro _STANDALONE due to inclusion of <sys/time.h>
(that does not only contain declarations but definitions of functions?
In a header?).
Shouldn't it be the reverse, not:
#if !defined(_STANDALONE)
but
#if defined(_STANDALONE)
?
Can somebody correct this or me?
Best,
--
Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
http://www.kergis.com/
http://www.sbfa.fr/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C
Home |
Main Index |
Thread Index |
Old Index