From: Bill Wendling Date: Wed, 20 Oct 2010 00:12:59 +0000 (+0000) Subject: Linux still needs these hacks. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80d56a9956af762373ea75326feb7720b81577b8;p=clang Linux still needs these hacks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116888 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/mmx-builtins.c b/test/CodeGen/mmx-builtins.c index a46601f93c..7934e77890 100644 --- a/test/CodeGen/mmx-builtins.c +++ b/test/CodeGen/mmx-builtins.c @@ -1,5 +1,9 @@ // RUN: %clang_cc1 %s -O3 -triple=x86_64-apple-darwin -target-feature +ssse3 -S -o - | FileCheck %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 + #include __m64 test1(__m64 a, __m64 b) { diff --git a/test/CodeGen/vector.c b/test/CodeGen/vector.c index 099867732b..3fa5f1441d 100644 --- a/test/CodeGen/vector.c +++ b/test/CodeGen/vector.c @@ -18,6 +18,11 @@ void test3 ( vec4* a, char b, float c ) { (*a)[b] = c; } + + +// Don't include mm_malloc.h, it's system specific. +#define __MM_MALLOC_H + #include int test4(int argc, char *argv[]) { diff --git a/test/Headers/c89.c b/test/Headers/c89.c index 618f11510d..9e01ff9297 100644 --- a/test/Headers/c89.c +++ b/test/Headers/c89.c @@ -1,5 +1,10 @@ // 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