diff src/cpuinfo/SDL_cpuinfo.c @ 796:dec19b813b04

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sat, 31 Jan 2004 06:49:18 +0000
parents 275708f2e838
children b2fda076b02e
line wrap: on
line diff
--- a/src/cpuinfo/SDL_cpuinfo.c	Thu Jan 29 16:15:12 2004 +0000
+++ b/src/cpuinfo/SDL_cpuinfo.c	Sat Jan 31 06:49:18 2004 +0000
@@ -228,7 +228,7 @@
 
 static __inline__ int CPU_haveAltiVec()
 {
-	int altivec = 0;
+	volatile int altivec = 0;
 #ifdef MACOSX
 	int selectors[2] = { CTL_HW, HW_VECTORUNIT }; 
 	int hasVectorUnit = 0;