aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/qcommon/common.c')
-rw-r--r--code/qcommon/common.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/code/qcommon/common.c b/code/qcommon/common.c
index 1f7a9ab..aeed009 100644
--- a/code/qcommon/common.c
+++ b/code/qcommon/common.c
@@ -24,15 +24,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "../game/q_shared.h"
#include "qcommon.h"
#include <setjmp.h>
-#ifdef __linux__
-#include <netinet/in.h>
-#else
-#if defined(MACOS_X)
+#if defined __linux__ || defined MACOS_X
#include <netinet/in.h>
#else
#include <winsock.h>
#endif
-#endif
int demo_protocols[] =
{ 66, 67, 68, 0 };
@@ -2817,7 +2813,7 @@ void Com_Shutdown (void) {
}
#if !( defined __VECTORC )
-#if !( defined __linux__ || defined __FreeBSD__ || defined __MINGW32__ ) // r010123 - include FreeBSD
+#if !( defined __GNUC__ ) // GNU versions in linux_common.c
#if ((!id386) && (!defined __i386__)) // rcg010212 - for PPC
void Com_Memcpy (void* dest, const void* src, const size_t count)