diff --git a/libc/src/__support/complex_type.h b/libc/src/__support/complex_type.h index 88239886f983b..a6207d38d0eb5 100644 --- a/libc/src/__support/complex_type.h +++ b/libc/src/__support/complex_type.h @@ -36,13 +36,12 @@ template <> struct make_complex { using type = cfloat16; }; #endif -#if defined(LIBC_TYPES_HAS_CFLOAT128) -#if !(LIBC_TYPES_LONG_DOUBLE_IS_FLOAT128) +#if defined(LIBC_TYPES_HAS_CFLOAT128) && \ + !defined(LIBC_TYPES_LONG_DOUBLE_IS_FLOAT128) template <> struct make_complex { using type = cfloat128; }; #endif -#endif template using make_complex_t = typename make_complex::type; @@ -63,13 +62,12 @@ template <> struct make_real { using type = float16; }; #endif -#if defined(LIBC_TYPES_HAS_CFLOAT128) -#if !(LIBC_TYPES_CFLOAT128_IS_COMPLEX_LONG_DOUBLE) +#if defined(LIBC_TYPES_HAS_CFLOAT128) && \ + !defined(LIBC_TYPES_CFLOAT128_IS_COMPLEX_LONG_DOUBLE) template <> struct make_real { using type = float128; }; #endif -#endif template using make_real_t = typename make_real::type;