[Predef-contribute] OpenBSD versions
Brought to you by:
breese,
tahonermann
|
From: Stefan T. <ste...@gm...> - 2016-01-28 23:01:16
|
Hi, I was looking for a numeric way to identify OpenBSD... this is what I found: In OpenBSD 5.6: #define OpenBSD 201411 /* OpenBSD version (year & month). */ In 5.8: #define OpenBSD 201510 Both are defined in /usr/include/sys/param.h And apparently they ported this behavior from NetBSD and used it ever since: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/sys/param.h.diff?r1=1.9&r2=1.10 For NetBSD this macro is also missing in your wiki... PS: thank you so much for that repository of information! It is a very neat tool and we use it very often for the development of http://flashrom.org. PPS: I would much appreciate it though if it would be maintained in a real, *distributed* repository (since I don't trust sourceforge very much ;) -- Kind regards/Mit freundlichen Grüßen, Stefan Tauner |