Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix build on NetBSD 7.0 Beta
Baptiste Daroussin committed 11 years ago
commit fd981ec6884e03e6b420f67da313ba6142143f96
parent be4392431a4939d98284046fa8dab57b16b3f9bf
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