src/cpuinfo/SDL_cpuinfo.c
changeset 796 dec19b813b04
parent 795 275708f2e838
child 804 b2fda076b02e
--- 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;