From 245a9cef7c11cd85691617638c1e3b84b2c74606 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 4 Feb 2009 13:31:15 +0000 Subject: [PATCH] Remove -D_COMPILING_BSD_KERNEL_. --- cpukit/libnetworking/Makefile.am | 2 +- cpukit/libnetworking/rtems/rtems_bsdnet.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/cpukit/libnetworking/Makefile.am b/cpukit/libnetworking/Makefile.am index a72e35f712..bce7b56efc 100644 --- a/cpukit/libnetworking/Makefile.am +++ b/cpukit/libnetworking/Makefile.am @@ -17,7 +17,7 @@ UNUSED_FILES += sys/poll.h if LIBNETWORKING # Add -DFORWARD_PROTOCOL to enable UDP forwarding -- requires missing net/pf.h -libnetworking_CPPFLAGS = -D_COMPILING_BSD_KERNEL_ -DINET -DNFS \ +libnetworking_CPPFLAGS = -DINET -DNFS \ -DDIAGNOSTIC -DBOOTP_COMPAT -D_KERNEL -D__BSD_VISIBLE noinst_LIBRARIES = libnetworking.a diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet.h b/cpukit/libnetworking/rtems/rtems_bsdnet.h index 5a8bf05092..41ae7132e9 100644 --- a/cpukit/libnetworking/rtems/rtems_bsdnet.h +++ b/cpukit/libnetworking/rtems/rtems_bsdnet.h @@ -22,7 +22,6 @@ extern "C" { */ #if defined(__INSIDE_RTEMS_BSD_TCPIP_STACK__) -#undef _COMPILING_BSD_KERNEL_ #undef _KERNEL #undef INET #undef NFS @@ -30,7 +29,6 @@ extern "C" { #undef BOOTP_COMPAT #undef __BSD_VISIBLE -#define _COMPILING_BSD_KERNEL_ #define _KERNEL #define INET #define NFS