RELENG_4 now uses _KERNEL instead of KERNEL, too.
Build failure pointed out by: Anders Andersson <anders@sanyusan.se>
This commit is contained in:
parent
cd656333fb
commit
c990206c56
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31376
@ -5,7 +5,7 @@
|
||||
/* #define KERNEL to get declaration of `struct msginfo'. */
|
||||
|
||||
-#if (defined __FreeBSD__) || (defined __bsdi__)
|
||||
+#if ((defined __FreeBSD__) && (__FreeBSD_version < 500000)) || (defined __bsdi__)
|
||||
+#if ((defined __FreeBSD__) && (__FreeBSD_version < 410000)) || (defined __bsdi__)
|
||||
#define KERNEL 1
|
||||
#else
|
||||
#define _KERNEL 1
|
||||
|
@ -5,7 +5,7 @@
|
||||
/* #define KERNEL to get declaration of `struct msginfo'. */
|
||||
|
||||
-#if (defined __FreeBSD__) || (defined __bsdi__)
|
||||
+#if ((defined __FreeBSD__) && (__FreeBSD_version < 500000)) || (defined __bsdi__)
|
||||
+#if ((defined __FreeBSD__) && (__FreeBSD_version < 410000)) || (defined __bsdi__)
|
||||
#define KERNEL 1
|
||||
#else
|
||||
#define _KERNEL 1
|
||||
|
Loading…
Reference in New Issue
Block a user