From 60c38932240b9c4a7da82c46a79eda2d4ffe78fd Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 26 Mar 2010 20:17:23 +0000 Subject: [PATCH] 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 --- test/Headers/c89.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.50.1