add creal/cimag macros in complex.h (and use them in the functions defs)
[musl] / src / complex / creal.c
index 2bb9181..f670304 100644 (file)
@@ -1,6 +1,6 @@
 #include <complex.h>
 
-double creal(double complex z)
+double (creal)(double complex z)
 {
-       return z;
+       return creal(z);
 }