Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix build on NetBSD 7.0 Beta
Baptiste Daroussin committed 11 years ago
commit fd981ec6884e03e6b420f67da313ba6142143f96
parent be43924
1 file changed +4 -0
modified libpkg/pkg.h.in
@@ -68,6 +68,10 @@
#undef OSMAJOR
#endif

+
#ifdef __NetBSD_Version__
+
#define OSMAJOR __NetBSD_Version__
+
#endif
+

#ifndef __DECONST
#define __DECONST(type, var)    ((type)(uintptr_t)(const void *)(var))
#endif