linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
0003-Don-t-use-complex-types-if-they-are-not-supported.patch
(651B)
1 From 160695fc15e589d08843b07b9f9950be574f3aee Mon Sep 17 00:00:00 2001
2 From: Michael Forney <mforney@mforney.org>
3 Date: Tue, 13 Aug 2019 22:28:49 +0000
4 Subject: [PATCH] Don't use complex types if they are not supported
5
6 ---
7 src/x86/ffitarget.h | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/src/x86/ffitarget.h b/src/x86/ffitarget.h
11 index 85ccedf..d4f384c 100644
12 --- a/src/x86/ffitarget.h
13 +++ b/src/x86/ffitarget.h
14 @@ -50,7 +50,7 @@
15 #endif
16
17 #define FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION
18 -#ifndef _MSC_VER
19 +#if !defined(_MSC_VER) && !defined(__STDC_NO_COMPLEX__)
20 #define FFI_TARGET_HAS_COMPLEX_TYPE
21 #endif
22
23 --
24 2.24.0
25