diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/complex.h | 2 | ||||
-rw-r--r-- | math/tgmath.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/math/complex.h b/math/complex.h index 7ed9890e12..82fae63163 100644 --- a/math/complex.h +++ b/math/complex.h @@ -33,7 +33,7 @@ __BEGIN_DECLS /* We might need to add support for more compilers here. But once ISO C 9X is out hopefully all maintained compilers will provide the data types `float complex' and `double complex'. */ -#if (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) || __GNUC__ > 2 +#if __GNUC_PREREQ (2, 7) # define _Complex __complex__ #endif diff --git a/math/tgmath.h b/math/tgmath.h index 1a6591e799..449b498ab7 100644 --- a/math/tgmath.h +++ b/math/tgmath.h @@ -34,7 +34,7 @@ do not try this for now and instead concentrate only on GNU CC. Once we have more information support for other compilers might follow. */ -#if defined __GNUC__ && (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ >= 7) +#if __GNUC_PREREQ (2, 7) /* We have two kinds of generic macros: to support functions which are only defined on real valued parameters and those which are defined |