]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Removed the extra definitions of hton[sl] and ntoh[sl] since apparently they are...
authormolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 25 Jun 2006 17:42:37 +0000 (17:42 +0000)
committermolivier <molivier@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 25 Jun 2006 17:42:37 +0000 (17:42 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6487 d7cf8633-e32d-0410-b094-e92efae38249

netconn.h

index e798cfda32dac900bc8fea330c3023593df935a8..ddbce4150f39e34bf80bfe67b1f221fd16d65655 100755 (executable)
--- 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