Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2013-05-22 08:49:03 +0400
committerAlex Rønne Petersen <alex@alexrp.com>2013-05-22 08:49:03 +0400
commit6df55cf92a314af75c2723ff9a1f3c4128c52dfd (patch)
tree7b2fd98abd31155c0e840ab11c3c63b85ab7949c
parentaaf6c2113924ec03ed09c1580dd88728c14b4570 (diff)
Fix the check in bf9c7dcc5ec5fddb673d97079d5443b919785b33.mono-3.0.11
The C preprocessor sucks.
-rw-r--r--mono/mini/mini-arm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mono/mini/mini-arm.c b/mono/mini/mini-arm.c
index ab739af4d63..572351d0e35 100644
--- a/mono/mini/mini-arm.c
+++ b/mono/mini/mini-arm.c
@@ -25,8 +25,8 @@
#include "mono/arch/arm/arm-vfp-codegen.h"
/* Sanity check: This makes no sense */
-#ifdef ARM_FPU_NONE && (ARM_FPU_VFP || ARM_FPU_VFP_HARD)
-#error "ARM_FPU_NONE and is defined while ARM_FPU_VFP/ARM_FPU_VFP_HARD is defined"
+#if defined(ARM_FPU_NONE) && (defined(ARM_FPU_VFP) || defined(ARM_FPU_VFP_HARD))
+#error "ARM_FPU_NONE is defined while one of ARM_FPU_VFP/ARM_FPU_VFP_HARD is defined"
#endif
#if defined(__ARM_EABI__) && defined(__linux__) && !defined(PLATFORM_ANDROID) && !defined(__native_client__)