* olli hauer <oha...@gmx.de> [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?
you're looking for the OpenBSD symbol from sys/param.h -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting - Hamburg & Amsterdam