https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f9e36df4d6828fa448b7c…
commit f9e36df4d6828fa448b7c6ff5d7bb4eadab6ba70
Author: Stanislav Motylkov <x86corez(a)gmail.com>
AuthorDate: Wed Jan 15 00:15:18 2020 +0300
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Tue Jan 14 22:15:18 2020 +0100
[CMAKE] Add proper global definition for Xbox port (#2250)
CORE-16216
---
CMakeLists.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 73b4e69a555..7aa199fdaf9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -159,6 +159,9 @@ else()
add_definitions(-D_M_IX86)
endif()
add_definitions(-D_X86_ -D__i386__ -Di386)
+ if(SARCH STREQUAL "xbox")
+ add_definitions(-DSARCH_XBOX)
+ endif()
elseif(ARCH STREQUAL "amd64")
add_definitions(-D_M_AMD64 -D_AMD64_ -D__x86_64__ -D_WIN64)
elseif(ARCH STREQUAL "arm")