From: Bill Wendling Date: Wed, 6 Oct 2010 03:31:09 +0000 (+0000) Subject: Add same hack to mmx-builtins.c as in Headers/c89.c to get it to pass on Win32. PR6658. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ef48a463c7f45114a074314c51fe523d5dfd004;p=clang Add same hack to mmx-builtins.c as in Headers/c89.c to get it to pass on Win32. PR6658. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115735 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/mmx-builtins.c b/test/CodeGen/mmx-builtins.c index a46601f93c..0252aebfcb 100644 --- a/test/CodeGen/mmx-builtins.c +++ b/test/CodeGen/mmx-builtins.c @@ -1,5 +1,10 @@ // 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 + +// PR6658 #include __m64 test1(__m64 a, __m64 b) {