From 6a1011ae6d72bf6d3a5bfd03f85ebe3babf985d7 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 11 Jul 2014 22:14:14 -0700 Subject: [PATCH] Fixed build for arm platforms --- src/cpuinfo/SDL_cpuinfo.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cpuinfo/SDL_cpuinfo.c b/src/cpuinfo/SDL_cpuinfo.c index 94a682635..cc565e0c4 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; }