From dc28f16d8ee251f2510631cfa4e043bbe4a82a8b Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 20 Apr 2004 12:28:19 +0000 Subject: Use -D_KERNEL instead of -DKERNEL for greater FreeBSD compliance. --- cpukit/libnetworking/netinet/in.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/libnetworking/netinet/in.h') diff --git a/cpukit/libnetworking/netinet/in.h b/cpukit/libnetworking/netinet/in.h index f330e38f0f..7b3b0ca834 100644 --- a/cpukit/libnetworking/netinet/in.h +++ b/cpukit/libnetworking/netinet/in.h @@ -252,7 +252,7 @@ struct in_addr { #define INADDR_ANY (u_long)0x00000000 #define INADDR_BROADCAST (u_long)0xffffffff /* must be masked */ -#ifndef KERNEL +#ifndef _KERNEL #define INADDR_NONE 0xffffffff /* -1 return */ #endif @@ -414,7 +414,7 @@ struct ip_mreq { } -#ifdef KERNEL +#ifdef _KERNEL struct ifnet; struct mbuf; /* forward declarations for Standard C */ int in_broadcast __P((struct in_addr, struct ifnet *)); @@ -438,6 +438,6 @@ extern ip_nat_ctl_t *ip_nat_ctl_ptr; #define IP_NAT_IN 0x00000001 #define IP_NAT_OUT 0x00000002 -#endif /* KERNEL */ +#endif /* _KERNEL */ #endif -- cgit v1.2.3