Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
DragonFly doesn't put the OSMAJOR version into __DragonFly__ at compile time.
Matthew Seaman committed 11 years ago
commit d8ed91d2a706f5162a99fb4b5daaab6d0b5c28e4
parent 8c1d7ae97a1e1e9f12e17755b1ef6a5ffe278b3c
1 file changed +2 -1
modified libpkg/pkg.h.in
@@ -63,8 +63,9 @@
#define OSMAJOR	__FreeBSD__
#endif

+
/* Not supported under DragonFly */
#ifdef __DragonFly__
-
#define OSMAJOR	__DragonFly__
+
#undef OSMAJOR
#endif

#ifndef __DECONST