[llvm-commits] CVS: llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c
Misha Brukman
brukman at cs.uiuc.edu
Tue Jul 20 09:11:30 PDT 2004
Changes in directory llvm/test/Programs/SingleSource/Benchmarks/Misc:
mandel.c updated: 1.9 -> 1.10
---
Log message:
Unbreak FreeBSD support -- it needs <complex.h>
---
Diffs of the changes: (+5 -2)
Index: llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c
diff -u llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c:1.9 llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c:1.10
--- llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c:1.9 Tue Jul 20 11:04:01 2004
+++ llvm/test/Programs/SingleSource/Benchmarks/Misc/mandel.c Tue Jul 20 11:11:20 2004
@@ -14,12 +14,15 @@
#define I 1.0iF
-#if defined(__FreeBSD__) || defined(__APPLE__)
-#include <stdio.h>
+#if defined(__FreeBSD__)
+#include <complex.h>
+#elif defined(__APPLE__)
#include <math.h>
#else
#include <tgmath.h>
#endif
+
+#include <stdio.h>
volatile double __complex__ accum;
void emit(double __complex__ X) {
More information about the llvm-commits
mailing list