mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
* Fix a warning on non-PPC builds
This commit is contained in:
parent
5bc17ccf4b
commit
31b7243ef3
1 changed files with 1 additions and 1 deletions
|
@ -380,9 +380,9 @@ static void illegal_instruction(int sig)
|
||||||
static void Sys_DetectAltivec(void)
|
static void Sys_DetectAltivec(void)
|
||||||
{
|
{
|
||||||
// Only detect if user hasn't forcibly disabled it.
|
// Only detect if user hasn't forcibly disabled it.
|
||||||
qboolean altivec = qfalse;
|
|
||||||
if (com_altivec->integer) {
|
if (com_altivec->integer) {
|
||||||
#if idppc_altivec
|
#if idppc_altivec
|
||||||
|
qboolean altivec = qfalse;
|
||||||
#ifdef MACOS_X
|
#ifdef MACOS_X
|
||||||
long feat = 0;
|
long feat = 0;
|
||||||
OSErr err = Gestalt(gestaltPowerPCProcessorFeatures, &feat);
|
OSErr err = Gestalt(gestaltPowerPCProcessorFeatures, &feat);
|
||||||
|
|
Loading…
Reference in a new issue