From: Bill Wendling Date: Tue, 19 Oct 2010 20:08:12 +0000 (+0000) Subject: Now that mm_malloc.h was rewritten to *not* include errno.h (see X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da7700e8180a3959a9f07debe3dbc358a5ea0639;p=clang Now that mm_malloc.h was rewritten to *not* include errno.h (see http://llvm.org/viewvc/llvm-project?rev=116771&view=rev) we can get rid of these hacks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116853 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/mmx-builtins.c b/test/CodeGen/mmx-builtins.c index 7934e77890..a46601f93c 100644 --- a/test/CodeGen/mmx-builtins.c +++ b/test/CodeGen/mmx-builtins.c @@ -1,9 +1,5 @@ // 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 3fa5f1441d..099867732b 100644 --- a/test/CodeGen/vector.c +++ b/test/CodeGen/vector.c @@ -18,11 +18,6 @@ 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 9e01ff9297..618f11510d 100644 --- a/test/Headers/c89.c +++ b/test/Headers/c89.c @@ -1,10 +1,5 @@ // 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