]> granicus.if.org Git - clang/commitdiff
Make sure we don't include mm_malloc.h in this test, it includes errno.h which
authorDaniel Dunbar <daniel@zuster.org>
Fri, 26 Mar 2010 20:17:23 +0000 (20:17 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 26 Mar 2010 20:17:23 +0000 (20:17 +0000)
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

test/Headers/c89.c

index 03bdc4cc95ae2e0ff035f5d241a42caf9a1fede8..9e01ff9297b86e8a33a0822b3b52ed3bd00fba8b 100644 (file)
@@ -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>