[PATCH] D146251: [test-suite] Fix FreeBSD and OpenBSD builds
Brad Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 17 00:08:57 PDT 2023
brad added a comment.
Looks like all three OS's have tgmath.h as well. Why not just make this
#if defined(__MINGW32__)
#include <complex.h>
#elif defined(__APPLE__)
#include <math.h>
#else
#include <tgmath.h>
#endif
For now, unless you can also build test on macOS?
Repository:
rT test-suite
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146251/new/
https://reviews.llvm.org/D146251
More information about the llvm-commits
mailing list