aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/libffi/patches/001-testsuite-no-fficonfig.patch
blob: 1f4c469f5c509b011d0b60b4e0ff5fd67a65e62d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/testsuite/libffi.call/ffitest.h	(index)
+++ b/testsuite/libffi.call/ffitest.h	(working tree)
@@ -6 +6,7 @@
-#include "fficonfig.h"
+
+#define HAVE_STDINT_H
+#define HAVE_INTTYPES_H
+
+#ifndef _MSC_VER
+#define HAVE_MMAP_ANON
+#endif
--- a/testsuite/libffi.closures/ffitest.h	(index)
+++ b/testsuite/libffi.closures/ffitest.h	(working tree)
@@ -6 +6,7 @@
-#include "fficonfig.h"
+
+#define HAVE_STDINT_H
+#define HAVE_INTTYPES_H
+
+#ifndef _MSC_VER
+#define HAVE_MMAP_ANON
+#endif