]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.h
Fixups for Solaris port.
[xonotic/darkplaces.git] / netconn.h
index 631e6f2978337c4c2a4d58d1e67d827398acee5d..e66b71d17fe19534991ab3682302c484744872c7 100755 (executable)
--- a/netconn.h
+++ b/netconn.h
@@ -151,7 +151,7 @@ extern char playername[];
 extern int playercolor;
 
 #define SERVERLIST_TOTALSIZE           2048
-#define SERVERLIST_VIEWLISTSIZE                128
+#define SERVERLIST_VIEWLISTSIZE                SERVERLIST_TOTALSIZE
 #define SERVERLIST_ANDMASKCOUNT                5
 #define SERVERLIST_ORMASKCOUNT         5
 
@@ -251,7 +251,7 @@ extern int serverlist_cachecount;
 
 extern qboolean serverlist_consoleoutput;
 
-#if !defined(_WIN32 ) && !defined (__linux__) && !defined (__sun__)
+#if !defined(_WIN32) && !defined(__linux__) && !defined(SUNOS)
 #ifndef htonl
 extern unsigned long htonl (unsigned long hostlong);
 #endif