From 2ef48a463c7f45114a074314c51fe523d5dfd004 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 6 Oct 2010 03:31:09 +0000 Subject: [PATCH] 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 --- test/CodeGen/mmx-builtins.c | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- 2.40.0