summaryrefslogtreecommitdiff
path: root/aarch64-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'aarch64-support.patch')
-rw-r--r--aarch64-support.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/aarch64-support.patch b/aarch64-support.patch
index d88fb16..424ec52 100644
--- a/aarch64-support.patch
+++ b/aarch64-support.patch
@@ -1,3 +1,16 @@
+diff --git a/Include/OniPlatform.h b/Include/OniPlatform.h
+index 602b4ba..7de181a 100644
+--- a/Include/OniPlatform.h
++++ b/Include/OniPlatform.h
+@@ -41,6 +41,8 @@
+ # include "Linux-x86/OniPlatformLinux-x86.h"
+ #elif (__linux__ && __arm__)
+ # include "Linux-Arm/OniPlatformLinux-Arm.h"
++#elif (__linux__ && __aarch64__)
++# include "Linux-x86/OniPlatformLinux-x86.h"
+ #elif _ARC
+ # include "ARC/OniPlaformARC.h"
+ #elif (__APPLE__)
diff --git a/ThirdParty/PSCommon/BuildSystem/CommonDefs.mak b/ThirdParty/PSCommon/BuildSystem/CommonDefs.mak
index dd88b04..7454e8a 100644
--- a/ThirdParty/PSCommon/BuildSystem/CommonDefs.mak
@@ -32,6 +45,7 @@ index 0000000..2eb8966
+# removals (dynamic exception specifications, the register keyword, etc.).
+CFLAGS += -std=gnu++14
diff --git a/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h b/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h
+index 07e8192..93d8567 100644
--- a/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h
+++ b/ThirdParty/PSCommon/XnLib/Include/XnPlatform.h
@@ -53,6 +53,8 @@