From 4d4134e9956ccd5bbbf650a464b0060292a41870 Mon Sep 17 00:00:00 2001 From: molivier Date: Sun, 25 Jun 2006 17:42:37 +0000 Subject: [PATCH] Removed the extra definitions of hton[sl] and ntoh[sl] since apparently they are not necessary on any platform DP supports git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6487 d7cf8633-e32d-0410-b094-e92efae38249 --- netconn.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/netconn.h b/netconn.h index e798cfda..ddbce415 100755 --- a/netconn.h +++ b/netconn.h @@ -301,21 +301,6 @@ extern int serverlist_cachecount; extern qboolean serverlist_consoleoutput; -#if !defined(_WIN32) && !defined(__linux__) && !defined(SUNOS) -#ifndef htonl -extern unsigned long htonl (unsigned long hostlong); -#endif -#ifndef htons -extern unsigned short htons (unsigned short hostshort); -#endif -#ifndef ntohl -extern unsigned long ntohl (unsigned long netlong); -#endif -#ifndef ntohs -extern unsigned short ntohs (unsigned short netshort); -#endif -#endif - //============================================================================ // // public network functions -- 2.39.2