1d131f203d
This is the source code for Bungie's MythII metaserver, the backend server system that supported MythII online play over the Internet for several years. The day has come for Bungie's MythII server to be retired. This source code for the server is being released so that the Myth community will have a starting point for creating their own Myth server system, should the need or desire to do so arise. PR: 34755 Submitted by: Miguel Mendez <flynn@energyhq.homeip.net>
18 lines
704 B
C
18 lines
704 B
C
--- common/cseries.h.orig Sat Feb 9 14:57:31 2002
|
|
+++ common/cseries.h Sat Feb 9 14:57:34 2002
|
|
@@ -70,6 +70,7 @@
|
|
#define HIGH_WORD(n) (((n)>>16)&0xffff)
|
|
#define LOW_WORD(n) ((n)&0xffff)
|
|
|
|
+#ifndef __FreeBSD__
|
|
#ifdef little_endian
|
|
#define ntohl(q) (((((unsigned long) (q)))>>24) | ((((unsigned long) (q))>>8)&0xff00) | ((((unsigned long) (q))<<8)&0xff0000) | ((((unsigned long) (q))<<24)&0xff000000))
|
|
#define htonl(q) (((((unsigned long) (q)))>>24) | ((((unsigned long) (q))>>8)&0xff00) | ((((unsigned long) (q))<<8)&0xff0000) | ((((unsigned long) (q))<<24)&0xff000000))
|
|
@@ -81,6 +82,7 @@
|
|
#define htonl(q) (q)
|
|
#define ntohs(q) (q)
|
|
#define htons(q) (q)
|
|
+#endif
|
|
#endif
|
|
#endif
|
|
|