ResidualVM: fix build for secondaryArch

This commit is contained in:
Gerasim Troeglazov
2018-10-27 21:04:19 +10:00
parent 47973ca8f1
commit 0864050ddd
2 changed files with 34 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
From 9a30d0226c12ad22878211eb2b727443e4d11609 Mon Sep 17 00:00:00 2001
From b74acc13daf1c8591cce1ddb06d0e60b48d48166 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sat, 27 Oct 2018 18:51:08 +1000
Subject: Use find_directory
@@ -115,3 +115,35 @@ index 84be67b..0d8fd58 100644
--
2.19.1
From d8b6419feb7fb54603d72981bced53c8ddceede5 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sat, 27 Oct 2018 20:55:34 +1000
Subject: Fix build for x86_gcc2
diff --git a/configure b/configure
index 7e0c930..be18bc2 100755
--- a/configure
+++ b/configure
@@ -5343,6 +5343,9 @@ $_config_h_data
/* Data types */
typedef unsigned $type_1_byte byte;
+#ifdef __HAIKU__
+#include <SupportDefs.h>
+#else
typedef unsigned int uint;
typedef unsigned $type_1_byte uint8;
typedef unsigned $type_2_byte uint16;
@@ -5350,6 +5353,7 @@ typedef unsigned $type_4_byte uint32;
typedef signed $type_1_byte int8;
typedef signed $type_2_byte int16;
typedef signed $type_4_byte int32;
+#endif
EOF
if test -n "$_def_64bit_type_unsigned" ; then
--
2.19.1