]> granicus.if.org Git - clang/commitdiff
Add same hack to mmx-builtins.c as in Headers/c89.c to get it to pass on Win32. PR6658.
authorBill Wendling <isanbard@gmail.com>
Wed, 6 Oct 2010 03:31:09 +0000 (03:31 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 6 Oct 2010 03:31:09 +0000 (03:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115735 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/mmx-builtins.c

index a46601f93c3edcfb4b0d0735f3078ce104c3de35..0252aebfcb0ebd05a64f0dc2e0d66d501878c2da 100644 (file)
@@ -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 <tmmintrin.h>
 
 __m64 test1(__m64 a, __m64 b) {