freebsd-ports/games/nehquake/files/patch-src__net.h
Alejandro Pulver 473b52d2f5 This Nehahra engine is basically a bug-fixed version of the released 2.54
source. It has also most of the fixes/features of the Enhanced GLQuake
version. The engine can be used for both watching the "Seal of Nehahra" movie
and for playing the actual game.

WWW: http://planetquake.com/nehahra/

Approved by:	garga (mentor)
2006-05-19 16:51:26 +00:00

11 lines
397 B
C

--- ./src/net.h.orig Tue Sep 27 12:45:44 2005
+++ ./src/net.h Tue May 16 17:36:22 2006
@@ -238,7 +238,7 @@
extern int hostCacheCount;
extern hostcache_t hostcache[HOSTCACHESIZE];
-#if !defined(_WIN32 ) && !defined (__linux__) && !defined (__sun__)
+#if !defined(_WIN32 ) && !defined (__unix__) && !defined (__sun__)
#ifndef htonl
extern unsigned long htonl (unsigned long hostlong);
#endif