aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-26 15:01:28 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-11-26 15:01:28 +0000
commit59b6a5ccdb397cdd3a47c97d6cda5438a225a338 (patch)
tree2fab1bfb840fc08009145560102c678ccf79ed2c /code/qcommon
parent26b9cf5a0ca15a80690060daf5f3cbf0576ade28 (diff)
downloadioquake3-aero-59b6a5ccdb397cdd3a47c97d6cda5438a225a338.tar.gz
ioquake3-aero-59b6a5ccdb397cdd3a47c97d6cda5438a225a338.zip
* 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
Diffstat (limited to 'code/qcommon')
-rw-r--r--code/qcommon/q_platform.h15
-rw-r--r--code/qcommon/qcommon.h1
2 files changed, 9 insertions, 7 deletions
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;