Py_complex; and WITHOUT_COMPLEX added to getargs.c
diff --git a/Python/getargs.c b/Python/getargs.c
index 7ec31c3..0c47614 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -498,16 +498,18 @@
break;
}
+#ifndef WITHOUT_COMPLEX
case 'D': /* complex double */
{
- complex *p = va_arg(*p_va, complex *);
- complex cval = PyComplex_AsCComplex(arg);
+ Py_complex *p = va_arg(*p_va, Py_complex *);
+ Py_complex cval = PyComplex_AsCComplex(arg);
if (err_occurred())
return "complex<D>";
else
*p = cval;
break;
}
+#endif /* WITHOUT_COMPLEX */
case 'c': /* char */
{