[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD macros
> > Where is the appropriate place to look for C macros that define
> > operating system name, version, etc?
> gcc -E -dM - </dev/null
This tells you that __NetBSD__ is defined (on a NetBSD system). There are
also version values in /usr/include/sys/param.h. I don't know if there is
a define that will tell you what the current OS name is.
My other computer also runs NetBSD / Sailing at Newbiggin
http://www.netbsd.org/ / http://www.newbigginsailingclub.org/
Main Index |
Thread Index |