* Replaced lots of __linux__ || __FreeBSD__ with __GNUC__

* MinGW port now uses asm versions of SnapVector and ftol
* Improved the handling of mangled symbols in vm_x86.c
This commit is contained in:
Tim Angus 2005-09-23 02:59:15 +00:00
parent fa9b864abe
commit 2b8395a4d0
12 changed files with 52 additions and 133 deletions

View file

@ -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)