From e4445f960ba7d629e6c68cc611a61c920e95f6ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 3 Jan 2016 22:49:25 -0800 Subject: [PATCH] Fixed WinRT build. --- include/bx/cpu.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/bx/cpu.h b/include/bx/cpu.h index b18746b..a4d5c65 100644 --- a/include/bx/cpu.h +++ b/include/bx/cpu.h @@ -19,6 +19,9 @@ # include # include # endif // !BX_PLATFORM_XBOX360 +# if BX_PLATFORM_WINRT +# define _InterlockedExchangeAdd64 InterlockedExchangeAdd64 +# endif // BX_PLATFORM_WINRT extern "C" void _ReadBarrier(); extern "C" void _WriteBarrier(); extern "C" void _ReadWriteBarrier();