summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-05 00:29:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-05 00:29:23 +0000
commitecec2ba7bd4f5b4786c30f7ed40db5faa124352d (patch)
tree07e2f7e39aa99a734445f1819a606f5a47e7a19f /cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
parentCorrected spacing and added some new error checks that were needed (diff)
downloadrtems-ecec2ba7bd4f5b4786c30f7ed40db5faa124352d.tar.bz2
Patch from Eric Norum to correct bug induced by select() patch.
Diffstat (limited to 'cpukit/libnetworking/rtems/rtems_bsdnet_internal.h')
-rw-r--r--cpukit/libnetworking/rtems/rtems_bsdnet_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
index 71df12898f..8cbba180d6 100644
--- a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
+++ b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h
@@ -188,5 +188,8 @@ int rtems_bsdnet_makeFdForSocket (void *);
#define NETISR_IP_EVENT (1 << NETISR_IP)
#define NETISR_ARP_EVENT (1 << NETISR_ARP)
#define NETISR_EVENTS (NETISR_IP_EVENT|NETISR_ARP_EVENT)
+#if (SBWAIT_EVENT & SOSLEEP_EVENT & NETISR_EVENTS)
+# error "Network event conflict"
+#endif
#endif /* _RTEMS_BSDNET_INTERNAL_H_ */