Howard Hinnant | c51e102 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 1 | // -*- C++ -*- |
| 2 | //===-------------------------- tgmath.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_TGMATH_H |
| 11 | #define _LIBCPP_TGMATH_H |
| 12 | |
| 13 | /* |
| 14 | tgmath.h synopsis |
| 15 | |
Marshall Clow | 1443e11 | 2018-02-12 19:13:24 +0000 | [diff] [blame] | 16 | #include <ctgmath> |
Howard Hinnant | c51e102 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 17 | |
| 18 | */ |
| 19 | |
Marshall Clow | 1443e11 | 2018-02-12 19:13:24 +0000 | [diff] [blame] | 20 | #include <__config> |
Howard Hinnant | c51e102 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 21 | |
Howard Hinnant | aaaa52b | 2011-10-17 20:05:10 +0000 | [diff] [blame] | 22 | #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |
Howard Hinnant | c51e102 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 23 | #pragma GCC system_header |
Howard Hinnant | aaaa52b | 2011-10-17 20:05:10 +0000 | [diff] [blame] | 24 | #endif |
Howard Hinnant | c51e102 | 2010-05-11 19:42:16 +0000 | [diff] [blame] | 25 | |
Marshall Clow | 1443e11 | 2018-02-12 19:13:24 +0000 | [diff] [blame] | 26 | #ifdef __cplusplus |
| 27 | |
| 28 | #include <ctgmath> |
| 29 | |
| 30 | #else // __cplusplus |
| 31 | |
| 32 | #include_next <tgmath.h> |
| 33 | |
Louis Dionne | 2b1ceaa | 2021-04-20 12:03:32 -0400 | [diff] [blame] | 34 | #endif // __cplusplus |
Marshall Clow | 1443e11 | 2018-02-12 19:13:24 +0000 | [diff] [blame] | 35 | |
Louis Dionne | 2b1ceaa | 2021-04-20 12:03:32 -0400 | [diff] [blame] | 36 | #endif // _LIBCPP_TGMATH_H |