Re: how can I get the OpenBSD version during build time?

2009-10-17 Thread olli hauer
Henning Brauer wrote: * olli hauer [2009-10-17 15:46]: I'm trying to get the OpenBSD version during build time but I have not find a way how to do this. I know for FreeBSD there is a way like this #ifdef __FreeBSD__ #if __FreeBSD_version < 601000 ... #endif Is there a similar way in OpenBSD

Re: how can I get the OpenBSD version during build time?

2009-10-17 Thread Henning Brauer
* olli hauer [2009-10-17 15:46]: > I'm trying to get the OpenBSD version during build time but I have > not find a way how to do this. > > I know for FreeBSD there is a way like this > > #ifdef __FreeBSD__ > #if __FreeBSD_version < 601000 > ... > #endif > > > Is there a similar way in OpenBSD?

how can I get the OpenBSD version during build time?

2009-10-17 Thread olli hauer
Hi, maybe this is the wrong list ... I'm trying to get the OpenBSD version during build time but I have not find a way how to do this. I know for FreeBSD there is a way like this #ifdef __FreeBSD__ #if __FreeBSD_version < 601000 ... #endif Is there a similar way in OpenBSD? Regards, olli