From: molivier Date: Sun, 25 Jun 2006 17:42:37 +0000 (+0000) Subject: Removed the extra definitions of hton[sl] and ntoh[sl] since apparently they are... X-Git-Tag: xonotic-v0.1.0preview~3891 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4d4134e9956ccd5bbbf650a464b0060292a41870;p=xonotic%2Fdarkplaces.git 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 --- 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