From 301ff71325922ba182154925f5a1f58e56fae77c Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sat, 1 Jan 2011 12:24:28 +0000 Subject: [PATCH] removed all remaining references to id386 and UNALIGNED_OK because the fitz engine doesn't use them at all. git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@364 af15c1b1-3010-417e-b628-4374ebc0bcbd --- Quake/mathlib.c | 5 ----- Quake/quakedef.h | 20 -------------------- 2 files changed, 25 deletions(-) diff --git a/Quake/mathlib.c b/Quake/mathlib.c index af856daa..80279f59 100644 --- a/Quake/mathlib.c +++ b/Quake/mathlib.c @@ -498,10 +498,6 @@ int GreatestCommonDivisor (int i1, int i2) } -#if !id386 - -// TODO: move to nonintel.c - /* =================== Invert24To16 @@ -519,4 +515,3 @@ fixed16_t Invert24To16(fixed16_t val) (((double)0x10000 * (double)0x1000000 / (double)val) + 0.5); } -#endif diff --git a/Quake/quakedef.h b/Quake/quakedef.h index e13a0a40..c8282614 100644 --- a/Quake/quakedef.h +++ b/Quake/quakedef.h @@ -48,26 +48,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "q_stdinc.h" -#if defined(_WIN32) && !defined(WINDED) - -#if defined(_M_IX86) && !defined(__i386__) -#define __i386__ 1 -#endif - -#endif - -#if defined __i386__ // && !defined __sun__ -#define id386 1 -#else -#define id386 0 -#endif - -#if id386 -#define UNALIGNED_OK 1 // set to 0 if unaligned accesses are not supported -#else -#define UNALIGNED_OK 0 -#endif - // !!! if this is changed, it must be changed in d_ifacea.h too !!! #define CACHE_SIZE 32 // used to align key data structures