Commit 6a1011ae6d72bf6d3a5bfd03f85ebe3babf985d7

Sam Lantinga 2014-07-11T22:14:14

Fixed build for arm platforms

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/cpuinfo/SDL_cpuinfo.c b/src/cpuinfo/SDL_cpuinfo.c
index 94a6826..cc565e0 100644
--- a/src/cpuinfo/SDL_cpuinfo.c
+++ b/src/cpuinfo/SDL_cpuinfo.c
@@ -255,8 +255,6 @@ CPU_OSSavesYMM(void)
         _asm _emit 0x0f _asm _emit 0x01 _asm _emit 0xd0
         mov a, xcr0
     }
-#else
-#error Need xgetbv implementation!
 #endif
     return ((a & 6) == 6) ? SDL_TRUE : SDL_FALSE;
 }