mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 14:25:56 +08:00
Remove -D_COMPILING_BSD_KERNEL_.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user