commit | d2ef2f9fdc506fb8d7d34fb98bcf748fa0da50f5 | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Thu Jul 29 18:43:15 2010 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Thu Jul 29 18:43:15 2010 +0000 |
tree | 46730d6f3d827716734b1724a2e0ae1bb70611ff | |
parent | 6b2602a32a31c509278c287f4a8896ff407b9772 [diff] |
Make complex.h play nice with C llvm-svn: 109791 Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project Cr-Mirrored-Commit: a8e3da215c5367b6f58f428fe32a346dd39454f4
diff --git a/include/complex.h b/include/complex.h index ae260c2..95aaa71 100644 --- a/include/complex.h +++ b/include/complex.h
@@ -18,8 +18,16 @@ */ +#ifdef __cplusplus + #include <ccomplex> +#else + +#include_next <complex.h> + +#endif + #pragma GCC system_header #endif // _LIBCPP_COMPLEX_H