[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/automotive-susan/susan.c

Jeff Cohen jeffc at jolt-lang.org
Thu Mar 29 09:36:40 PDT 2007



Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/automotive-susan:

susan.c updated: 1.1 -> 1.2
---
Log message:

Fix for other BSDs.

---
Diffs of the changes:  (+1 -1)

 susan.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm-test/MultiSource/Benchmarks/MiBench/automotive-susan/susan.c
diff -u llvm-test/MultiSource/Benchmarks/MiBench/automotive-susan/susan.c:1.1 llvm-test/MultiSource/Benchmarks/MiBench/automotive-susan/susan.c:1.2
--- llvm-test/MultiSource/Benchmarks/MiBench/automotive-susan/susan.c:1.1	Tue Jan  9 17:44:34 2007
+++ llvm-test/MultiSource/Benchmarks/MiBench/automotive-susan/susan.c	Thu Mar 29 11:36:22 2007
@@ -302,7 +302,7 @@
 #include <string.h>
 #include <math.h>
 #include <sys/file.h>    /* may want to remove this line */
-#ifndef __APPLE__
+#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
 #include <malloc.h>      /* may want to remove this line */
 #endif
 #define  exit_error(IFB,IFC) { fprintf(stderr,IFB,IFC); exit(0); }






More information about the llvm-commits mailing list