Skip to content

Commit bab59a9

Browse files
authored
gh-125206: don't use CMPLX in libffi complex configure test (#132865)
See https://sourceware.org/bugzilla/show_bug.cgi?id=26287 This amends aac89b5.
1 parent d7365e6 commit bab59a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4066,7 +4066,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
40664066
#include <ffi.h>
40674067
int z_is_expected(double complex z)
40684068
{
4069-
const double complex expected = CMPLX(1.25, -0.5);
4069+
const double complex expected = 1.25 - 0.5 * I;
40704070
return z == expected;
40714071
}
40724072
int main(void)

0 commit comments

Comments
 (0)