[PATCH] D146251: [test-suite] Fix FreeBSD and OpenBSD builds
Dimitry Andric via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 19 03:36:10 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rT7b21b9ec2f2e: [test-suite] Fix FreeBSD and OpenBSD builds (authored by dim).
Repository:
rT test-suite
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146251/new/
https://reviews.llvm.org/D146251
Files:
SingleSource/Benchmarks/Misc/mandel.c
Index: SingleSource/Benchmarks/Misc/mandel.c
===================================================================
--- SingleSource/Benchmarks/Misc/mandel.c
+++ SingleSource/Benchmarks/Misc/mandel.c
@@ -11,12 +11,10 @@
#define I 1.0iF
-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__MINGW32__)
+#if defined(__MINGW32__)
#include <complex.h>
-#elif defined(__APPLE__)
-#include <math.h>
#else
-#include <tgmath.h>
+#include <math.h>
#endif
#include <stdio.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146251.506373.patch
Type: text/x-patch
Size: 482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230319/3f0dad14/attachment-0001.bin>
More information about the llvm-commits
mailing list