From 365edcd15d8d7106dde295f4cc6c78532672586d Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Fri, 22 Aug 2014 21:02:42 -0700 Subject: [PATCH] Check compiler _M_ARM define instead of WINAPI define. --- include/bx/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bx/platform.h b/include/bx/platform.h index 54ba02f..2b37f64 100644 --- a/include/bx/platform.h +++ b/include/bx/platform.h @@ -109,7 +109,7 @@ ) // http://sourceforge.net/apps/mediawiki/predef/index.php?title=Architectures -#if defined(__arm__) || (defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)) +#if defined(__arm__) || defined(_M_ARM) # undef BX_CPU_ARM # define BX_CPU_ARM 1 # define BX_CACHE_LINE_SIZE 64