Howard Hinnant | c51e102 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 1 | // -*- C++ -*- |
| 2 | //===--------------------------- complex.h --------------------------------===// |
| 3 | // |
Chandler Carruth | d201210 | 2019-01-19 10:56:40 +0000 | [diff] [blame] | 4 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 5 | // See https://llvm.org/LICENSE.txt for license information. |
| 6 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
Howard Hinnant | c51e102 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #ifndef _LIBCPP_COMPLEX_H |
| 11 | #define _LIBCPP_COMPLEX_H |
| 12 | |
| 13 | /* |
| 14 | complex.h synopsis |
| 15 | |
| 16 | #include <ccomplex> |
| 17 | |
| 18 | */ |
| 19 | |
Richard Smith | 523b172 | 2015-10-09 00:26:50 +0000 | [diff] [blame] | 20 | #include <__config> |
| 21 | |
| 22 | #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |
| 23 | #pragma GCC system_header |
| 24 | #endif |
| 25 | |
Howard Hinnant | d2ef2f9 | 2010-07-29 18:43:15 +0000 | [diff] [blame] | 26 | #ifdef __cplusplus |
| 27 | |
Howard Hinnant | c51e102 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 28 | #include <ccomplex> |
| 29 | |
Howard Hinnant | 3b6579a | 2010-08-22 00:02:43 +0000 | [diff] [blame] | 30 | #else // __cplusplus |
Howard Hinnant | d2ef2f9 | 2010-07-29 18:43:15 +0000 | [diff] [blame] | 31 | |
| 32 | #include_next <complex.h> |
| 33 | |
Louis Dionne | 2b1ceaa | 2021-04-20 12:03:32 -0400 | [diff] [blame] | 34 | #endif // __cplusplus |
Howard Hinnant | d2ef2f9 | 2010-07-29 18:43:15 +0000 | [diff] [blame] | 35 | |
Louis Dionne | 2b1ceaa | 2021-04-20 12:03:32 -0400 | [diff] [blame] | 36 | #endif // _LIBCPP_COMPLEX_H |