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:
committed by
GitHub
parent
d7365e6050
commit
bab59a904c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user