[cfe-commits] r99649 - /cfe/trunk/test/Headers/c89.c

Daniel Dunbar daniel at zuster.org
Fri Mar 26 13:17:23 PDT 2010


Author: ddunbar
Date: Fri Mar 26 15:17:23 2010
New Revision: 99649

URL: http://llvm.org/viewvc/llvm-project?rev=99649&view=rev
Log:
Make sure we don't include mm_malloc.h in this test, it includes errno.h which
we aren't always able to find on Win32.

Modified:
    cfe/trunk/test/Headers/c89.c

Modified: cfe/trunk/test/Headers/c89.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Headers/c89.c?rev=99649&r1=99648&r2=99649&view=diff
==============================================================================
--- cfe/trunk/test/Headers/c89.c (original)
+++ cfe/trunk/test/Headers/c89.c Fri Mar 26 15:17:23 2010
@@ -1,4 +1,9 @@
-// RUN: %clang -ccc-host-triple i386-apple-darwin10 -fsyntax-only -verify -std=c89 %s
+// 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 <xmmintrin.h>





More information about the cfe-commits mailing list