summaryrefslogtreecommitdiff
path: root/mbone/mcl/files/patch-mcl_osdep.h
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2003-11-14 16:33:33 +0000
committerBruce M Simpson <bms@FreeBSD.org>2003-11-14 16:33:33 +0000
commit7ab4a1fe58139bc586065444a529c554479c2574 (patch)
treedda92305527359c66a3e9895a576058f950793bf /mbone/mcl/files/patch-mcl_osdep.h
parentFix packaging when OSPFAPI is requested. This installs additional headers, (diff)
Add mcl 2.99,
implementation of the ALC and NORM Reliable Multicast Protocols. PR: 58728 Submitted by: past@noc.ntua.gr
Notes
Notes: svn path=/head/; revision=93959
Diffstat (limited to 'mbone/mcl/files/patch-mcl_osdep.h')
-rw-r--r--mbone/mcl/files/patch-mcl_osdep.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/mbone/mcl/files/patch-mcl_osdep.h b/mbone/mcl/files/patch-mcl_osdep.h
new file mode 100644
index 000000000000..575afbc6f974
--- /dev/null
+++ b/mbone/mcl/files/patch-mcl_osdep.h
@@ -0,0 +1,32 @@
+--- src/common/mcl_osdep.h.orig Tue Jul 22 19:37:39 2003
++++ src/common/mcl_osdep.h Wed Oct 15 16:11:46 2003
+@@ -30,7 +30,7 @@
+ /*
+ * bit field order is compiler/OS dependant
+ */
+-#if defined(LINUX) || defined(WIN32)
++#if defined(LINUX) || defined(WIN32) || defined(FREEBSD)
+ #define _BIT_FIELDS_LTOH
+ #undef _BIT_FIELDS_HTOL
+
+@@ -44,7 +44,7 @@
+ /*
+ * sighandler
+ */
+-#if defined(LINUX)
++#if defined(LINUX) || defined(FREEBSD)
+ /* On Linux systems, signal handlers must be of __sighandler_t type */
+ #define sighandler_t __sighandler_t
+
+@@ -63,9 +63,9 @@
+ #define u_int16_t ushort_t /* or uint16_t */
+ #define u_int32_t uint_t /* or uint32_t */
+
+-#elif defined (WIN32)
++#elif defined (WIN32) || defined (FREEBSD)
+
+-/* u_xxx absent from WIN32! */
++/* u_xxx absent from WIN32 and ulong absent from FreeBSD! */
+ #define u_int8_t unsigned char /* or uint8_t */
+ #define u_int16_t unsigned short /* or uint16_t */
+ #define u_int32_t unsigned int /* or uint32_t */