complex.h: add a C++ guard.

This commit is contained in:
Jérôme Duval 2016-10-05 09:17:19 +02:00
parent dd074cc7dc
commit e25f993385
1 changed files with 8 additions and 0 deletions

View File

@ -15,6 +15,10 @@
#define complex _Complex
#define I _Complex_I
#ifdef __cplusplus
extern "C" {
#endif
extern double cabs(double complex);
extern float cabsf(float complex);
extern long double cabsl(long double complex);
@ -82,4 +86,8 @@ extern float complex ctanhf(float complex);
extern long double complex ctanhl(long double complex);
extern long double complex ctanl(long double complex);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* _COMPLEX_H_ */