From 59b6a5ccdb397cdd3a47c97d6cda5438a225a338 Mon Sep 17 00:00:00 2001 From: tma Date: Sat, 26 Nov 2005 15:01:28 +0000 Subject: * Disable ccache by default. If you want it, add USE_CCACHE=1 to Makefile.local * Remove -gfull from linux section in Makefile -- it's darwin only * Cast away some warnings that surfaced from using "new" AL headers * Various whitespace and consistency fixes git-svn-id: svn://svn.icculus.org/quake3/trunk@375 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/q_platform.h | 15 ++++++++------- code/qcommon/qcommon.h | 1 + 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'code/qcommon') diff --git a/code/qcommon/q_platform.h b/code/qcommon/q_platform.h index f68676f..c77f8c4 100644 --- a/code/qcommon/q_platform.h +++ b/code/qcommon/q_platform.h @@ -39,22 +39,23 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #endif #if (defined(powerc) || defined(powerpc) || defined(ppc) || \ - defined(__ppc) || defined(__ppc__)) && !defined(C_ONLY) + defined(__ppc) || defined(__ppc__)) && !defined(C_ONLY) #define idppc 1 #if defined(__VEC__) #define idppc_altivec 1 +#ifdef MACOS_X // Apple's GCC does this differently than the FSF. +#define VECCONST_UINT8(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) \ + (vector unsigned char) (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) #else -#define idppc_altivec 0 +#define VECCONST_UINT8(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) \ + (vector unsigned char) {a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p} #endif #else -#define idppc 0 #define idppc_altivec 0 #endif - -#if (MACOS_X) // Apple's GCC does this differently than the FSF. - #define VECCONST_UINT8(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) (vector unsigned char) (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) #else - #define VECCONST_UINT8(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p) (vector unsigned char) {a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p} +#define idppc 0 +#define idppc_altivec 0 #endif #endif diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h index c5a67e7..35e44dd 100644 --- a/code/qcommon/qcommon.h +++ b/code/qcommon/qcommon.h @@ -748,6 +748,7 @@ extern cvar_t *com_blood; extern cvar_t *com_buildScript; // for building release pak files extern cvar_t *com_journal; extern cvar_t *com_cameraMode; +extern cvar_t *com_altivec; // both client and server must agree to pause extern cvar_t *cl_paused; -- cgit v1.2.3