[test-suite] r187308 - nbench: just disable inclusion of malloc.h, LLVM doesn't support platforms that still need it anyways.

Benjamin Kramer benny.kra at googlemail.com
Sat Jul 27 11:49:59 PDT 2013


Author: d0k
Date: Sat Jul 27 13:49:59 2013
New Revision: 187308

URL: http://llvm.org/viewvc/llvm-project?rev=187308&view=rev
Log:
nbench: just disable inclusion of malloc.h, LLVM doesn't support platforms that still need it anyways.

Fixes the test on recent FreeBSDs.

Modified:
    test-suite/trunk/MultiSource/Benchmarks/nbench/sysspec.h

Modified: test-suite/trunk/MultiSource/Benchmarks/nbench/sysspec.h
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/nbench/sysspec.h?rev=187308&r1=187307&r2=187308&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/nbench/sysspec.h (original)
+++ test-suite/trunk/MultiSource/Benchmarks/nbench/sysspec.h Sat Jul 27 13:49:59 2013
@@ -33,7 +33,7 @@
 
 #include "nmglobal.h"
 
-#if !defined(__APPLE__)
+#if 0 /*!defined(__APPLE__)*/
 #include <malloc.h>
 #endif
 





More information about the llvm-commits mailing list