fix ifdef bug

Former-commit-id: 3e9ec5069134f6497122990c8296857dcb41b2ae
This commit is contained in:
Jo Shields 2015-08-26 17:17:24 +01:00
parent e04c17b5d9
commit 4148fe8663
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From f4de38878981140f12c53d1f1ab5ce46f5c475a3 Mon Sep 17 00:00:00 2001
From: Dylan Borg <borgdylan@hotmail.com>
Date: Mon, 13 Jul 2015 09:18:03 +0200
Subject: [PATCH] fix the x86 build
---
mono/mini/mini-x86.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mono/mini/mini-x86.c b/mono/mini/mini-x86.c
index 6b5def5..027aa25 100644
--- a/mono/mini/mini-x86.c
+++ b/mono/mini/mini-x86.c
@@ -5465,7 +5465,7 @@ mono_arch_emit_epilog (MonoCompile *cfg)
gboolean supported = FALSE;
if (cfg->compile_aot) {
-#if MONO_HAVE_FAST_TLS
+#if defined(MONO_HAVE_FAST_TLS)
supported = TRUE;
#endif
} else if (mono_get_jit_tls_offset () != -1) {
--
1.9.1

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
0001-fix-the-x86-build.patch