RELENG_4 now uses _KERNEL instead of KERNEL, too.

Build failure pointed out by:	Anders Andersson <anders@sanyusan.se>
This commit is contained in:
Ade Lovett 2000-08-07 15:48:54 +00:00
parent cd656333fb
commit c990206c56
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31376
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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