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.
This commit is contained in:
Sergey B Kirpichev
2025-04-24 18:45:29 +03:00
committed by GitHub
parent d7365e6050
commit bab59a904c
2 changed files with 2 additions and 2 deletions

View File

@@ -4066,7 +4066,7 @@ AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <ffi.h>
int z_is_expected(double complex z)
{
const double complex expected = CMPLX(1.25, -0.5);
const double complex expected = 1.25 - 0.5 * I;
return z == expected;
}
int main(void)