Merge "<complex.h>: stop using __INTRODUCED_IN_(32|64)."
This commit is contained in:
commit
cf2090b962
2 changed files with 3 additions and 5 deletions
|
@ -117,7 +117,7 @@ long double complex clogl(long double complex __z) __INTRODUCED_IN(26);
|
||||||
/* 7.3.8.1 The cabs functions */
|
/* 7.3.8.1 The cabs functions */
|
||||||
double cabs(double complex __z) __INTRODUCED_IN(23);
|
double cabs(double complex __z) __INTRODUCED_IN(23);
|
||||||
float cabsf(float complex __z) __INTRODUCED_IN(23);
|
float cabsf(float complex __z) __INTRODUCED_IN(23);
|
||||||
long double cabsl(long double complex __z) __INTRODUCED_IN_32(21) __INTRODUCED_IN_64(23);
|
long double cabsl(long double complex __z) __INTRODUCED_IN(23);
|
||||||
/* 7.3.8.2 The cpow functions */
|
/* 7.3.8.2 The cpow functions */
|
||||||
double complex cpow(double complex __x, double complex __z) __INTRODUCED_IN(26);
|
double complex cpow(double complex __x, double complex __z) __INTRODUCED_IN(26);
|
||||||
float complex cpowf(float complex __x, float complex __z) __INTRODUCED_IN(26);
|
float complex cpowf(float complex __x, float complex __z) __INTRODUCED_IN(26);
|
||||||
|
@ -125,7 +125,7 @@ long double complex cpowl(long double complex __x, long double complex __z) __IN
|
||||||
/* 7.3.8.3 The csqrt functions */
|
/* 7.3.8.3 The csqrt functions */
|
||||||
double complex csqrt(double complex __z) __INTRODUCED_IN(23);
|
double complex csqrt(double complex __z) __INTRODUCED_IN(23);
|
||||||
float complex csqrtf(float complex __z) __INTRODUCED_IN(23);
|
float complex csqrtf(float complex __z) __INTRODUCED_IN(23);
|
||||||
long double complex csqrtl(long double complex __z) __INTRODUCED_IN_32(21) __INTRODUCED_IN_64(23);
|
long double complex csqrtl(long double complex __z) __INTRODUCED_IN(23);
|
||||||
|
|
||||||
/* 7.3.9 Manipulation functions */
|
/* 7.3.9 Manipulation functions */
|
||||||
/* 7.3.9.1 The carg functions */
|
/* 7.3.9.1 The carg functions */
|
||||||
|
@ -143,7 +143,7 @@ long double complex conjl(long double complex __z) __INTRODUCED_IN(23);
|
||||||
/* 7.3.9.4 The cproj functions */
|
/* 7.3.9.4 The cproj functions */
|
||||||
double complex cproj(double complex __z) __INTRODUCED_IN(23);
|
double complex cproj(double complex __z) __INTRODUCED_IN(23);
|
||||||
float complex cprojf(float complex __z) __INTRODUCED_IN(23);
|
float complex cprojf(float complex __z) __INTRODUCED_IN(23);
|
||||||
long double complex cprojl(long double complex __z) __INTRODUCED_IN_32(21) __INTRODUCED_IN_64(23);
|
long double complex cprojl(long double complex __z) __INTRODUCED_IN(23);
|
||||||
/* 7.3.9.5 The creal functions */
|
/* 7.3.9.5 The creal functions */
|
||||||
double creal(double complex __z) __INTRODUCED_IN(23);
|
double creal(double complex __z) __INTRODUCED_IN(23);
|
||||||
float crealf(float complex __z) __INTRODUCED_IN(23);
|
float crealf(float complex __z) __INTRODUCED_IN(23);
|
||||||
|
|
|
@ -19,8 +19,6 @@
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#if !defined(__INTRODUCED_IN)
|
#if !defined(__INTRODUCED_IN)
|
||||||
#define __INTRODUCED_IN(x)
|
#define __INTRODUCED_IN(x)
|
||||||
#define __INTRODUCED_IN_32(x)
|
|
||||||
#define __INTRODUCED_IN_64(x)
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// libc++ actively gets in the way of including <complex.h> from C++, so we
|
// libc++ actively gets in the way of including <complex.h> from C++, so we
|
||||||
|
|
Loading…
Reference in a new issue