mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
complex.h: add a C++ guard.
This commit is contained in:
parent
dd074cc7dc
commit
e25f993385
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user