aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-03-26 20:17:23 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-03-26 20:17:23 +0000
commit60c38932240b9c4a7da82c46a79eda2d4ffe78fd (patch)
treeba9bbf56d9855f1e9ff68853ce8897bb0c580a96
parent82049c08da882602cdfa7de37079d6e3f7eb6893 (diff)
Make sure we don't include mm_malloc.h in this test, it includes errno.h which
we aren't always able to find on Win32. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99649 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Headers/c89.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Headers/c89.c b/test/Headers/c89.c
index 03bdc4cc95..9e01ff9297 100644
--- a/test/Headers/c89.c
+++ b/test/Headers/c89.c
@@ -1,4 +1,9 @@
-// RUN: %clang -ccc-host-triple i386-apple-darwin10 -fsyntax-only -verify -std=c89 %s
+// RUN: %clang -ccc-host-triple i386-apple-darwin10 -fsyntax-only -Xclang -verify -std=c89 %s
+
+// FIXME: Disable inclusion of mm_malloc.h, our current implementation is broken
+// on win32 since we don't generally know how to find errno.h.
+
+#define __MM_MALLOC_H
// PR6658
#include <xmmintrin.h>