summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/tgmath.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/tgmath.h b/include/tgmath.h
index 2dbb8fd..71460ad 100644
--- a/include/tgmath.h
+++ b/include/tgmath.h
@@ -57,14 +57,14 @@
#define __tg_type3(e1, e2, e3, t) \
(__tg_type(e1, t) || __tg_type(e2, t) || __tg_type(e3, t))
#define __tg_type_corr(e1, e2, e3, t) \
- (__tg_type3(e1, e2, e3, t) || __tg_type3(e1, e2, e3, t complex))
+ (__tg_type3(e1, e2, e3, t) || __tg_type3(e1, e2, e3, t _Complex))
#define __tg_integer(e1, e2, e3) \
(((__typeof__(e1))1.5 == 1) || ((__typeof__(e2))1.5 == 1) || \
((__typeof__(e3))1.5 == 1))
#define __tg_is_complex(e1, e2, e3) \
- (__tg_type3(e1, e2, e3, float complex) || \
- __tg_type3(e1, e2, e3, double complex) || \
- __tg_type3(e1, e2, e3, long double complex))
+ (__tg_type3(e1, e2, e3, float _Complex) || \
+ __tg_type3(e1, e2, e3, double _Complex) || \
+ __tg_type3(e1, e2, e3, long double _Complex))
#define __tg_impl_simple(x, y, z, fn, fnf, fnl, ...) \
__builtin_choose_expr(__tg_type_corr(x, y, z, long double), \
OpenPOWER on IntegriCloud