blob: ba9396e6abb78f9ccf1de6e8409a7b5a7ce220c4 [file] [log] [blame]
Howard Hinnantc51e1022010-05-11 19:42:16 +00001// -*- C++ -*-
2//===-------------------------- tgmath.h ----------------------------------===//
3//
Chandler Carruthd2012102019-01-19 10:56:40 +00004// 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 Hinnantc51e1022010-05-11 19:42:16 +00007//
8//===----------------------------------------------------------------------===//
9
10#ifndef _LIBCPP_TGMATH_H
11#define _LIBCPP_TGMATH_H
12
13/*
14 tgmath.h synopsis
15
Marshall Clow1443e112018-02-12 19:13:24 +000016#include <ctgmath>
Howard Hinnantc51e1022010-05-11 19:42:16 +000017
18*/
19
Marshall Clow1443e112018-02-12 19:13:24 +000020#include <__config>
Howard Hinnantc51e1022010-05-11 19:42:16 +000021
Howard Hinnantaaaa52b2011-10-17 20:05:10 +000022#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
Howard Hinnantc51e1022010-05-11 19:42:16 +000023#pragma GCC system_header
Howard Hinnantaaaa52b2011-10-17 20:05:10 +000024#endif
Howard Hinnantc51e1022010-05-11 19:42:16 +000025
Marshall Clow1443e112018-02-12 19:13:24 +000026#ifdef __cplusplus
27
28#include <ctgmath>
29
30#else // __cplusplus
31
32#include_next <tgmath.h>
33
Louis Dionne2b1ceaa2021-04-20 12:03:32 -040034#endif // __cplusplus
Marshall Clow1443e112018-02-12 19:13:24 +000035
Louis Dionne2b1ceaa2021-04-20 12:03:32 -040036#endif // _LIBCPP_TGMATH_H