diff --git a/include/complex.h b/include/complex.h index 8206e02679acc6d3a26fea3aedc5e1cf3dc81962..13a45c57c200e9f671f738f66efb8ea6cf5945a9 100644 --- a/include/complex.h +++ b/include/complex.h @@ -115,11 +115,9 @@ long double creall(long double complex); #define __CMPLX(x, y, t) \ ((union { _Complex t __z; t __xy[2]; }){.__xy = {(x),(y)}}.__z) -#if __STDC_VERSION__ >= 201112L #define CMPLX(x, y) __CMPLX(x, y, double) #define CMPLXF(x, y) __CMPLX(x, y, float) #define CMPLXL(x, y) __CMPLX(x, y, long double) -#endif #ifdef __cplusplus } diff --git a/src/internal/libm.h b/src/internal/libm.h index 46c4b56451aa32fd70929628fc4687552f71ae6a..64cc83883b10892b9f4e53c7c02c099e55eeec35 100644 --- a/src/internal/libm.h +++ b/src/internal/libm.h @@ -168,12 +168,4 @@ long double __p1evll(long double, const long double *, int); #define STRICT_ASSIGN(type, lval, rval) ((lval) = (type)(rval)) #endif -/* complex */ - -#ifndef CMPLX -#define CMPLX(x, y) __CMPLX(x, y, double) -#define CMPLXF(x, y) __CMPLX(x, y, float) -#define CMPLXL(x, y) __CMPLX(x, y, long double) -#endif - #endif