summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-02-04 13:31:15 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-02-04 13:31:15 +0000
commit245a9cef7c11cd85691617638c1e3b84b2c74606 (patch)
treed656aa6ff1e79987e7414baefb0ad01bbb24885d /cpukit
parent2009-02-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-245a9cef7c11cd85691617638c1e3b84b2c74606.tar.bz2
Remove -D_COMPILING_BSD_KERNEL_.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/libnetworking/Makefile.am2
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet.h2
2 files changed, 1 insertions, 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