[PATCH] D146251: [test-suite] Fix FreeBSD and OpenBSD builds

Dimitry Andric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 18 16:54:19 PDT 2023


dim updated this revision to Diff 506338.
dim added a comment.

Uploaded wrong commit.


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__)
+#else
 #include <math.h>
-#else
-#include <tgmath.h>
 #endif
 
 #include <stdio.h>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146251.506338.patch
Type: text/x-patch
Size: 470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230318/8724ef88/attachment.bin>


More information about the llvm-commits mailing list