| diff -ru sdlquake-1.0.9.orig/draw.c sdlquake-1.0.9/draw.c |
| |
| |
| @@ -557,6 +557,9 @@ |
| #elif defined(__linux__) |
| sprintf (ver, "(Linux Quake %2.2f) %4.2f", (float)LINUX_VERSION, (float)VERSION); |
| dest = conback->data + 320*186 + 320 - 11 - 8*strlen(ver); |
| +#elif defined(__midipix__) |
| + sprintf (ver, "(Midipix Quake) %4.2f", (float)VERSION); |
| + dest = conback->data + 320*186 + 320 - 11 -8*strlen(ver); |
| #else |
| dest = conback->data + 320 - 43 + 320*186; |
| sprintf (ver, "%4.2f", VERSION); |
| diff -ru sdlquake-1.0.9.orig/net.h sdlquake-1.0.9/net.h |
| |
| |
| @@ -238,7 +238,7 @@ |
| extern int hostCacheCount; |
| extern hostcache_t hostcache[HOSTCACHESIZE]; |
| |
| -#if !defined(_WIN32 ) && !defined (__linux__) && !defined (__sun__) |
| +#if !defined(_WIN32 ) && !defined (__linux__) && !defined(__midipix__) && !defined (__sun__) |
| #ifndef htonl |
| extern unsigned long htonl (unsigned long hostlong); |
| #endif |