[llvm-commits] CVS: llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c

Chris Lattner lattner at cs.uiuc.edu
Tue Jun 22 14:09:02 PDT 2004


Changes in directory llvm/test/Programs/SingleSource/Benchmarks/Misc:

mandel.c updated: 1.7 -> 1.8

---
Log message:

Attempt to get this test working on freebsd.  Patch contributed by Vladimir Merzliakov


---
Diffs of the changes:  (+5 -0)

Index: llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c
diff -u llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c:1.7 llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c:1.8
--- llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c:1.7	Sun Feb 29 21:44:58 2004
+++ llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c	Tue Jun 22 14:00:55 2004
@@ -14,7 +14,12 @@
 
 #define I 1.0iF
 
+#if defined(__FreeBSD__)
+#include <stdio.h>
+#include <complex.h>
+#else
 #include <tgmath.h>
+#endif
 
 volatile double __complex__ accum;
 void emit(double __complex__ X) {





More information about the llvm-commits mailing list