summaryrefslogtreecommitdiff
path: root/contrib/llvm-project/libcxx/include/tgmath.h
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-12-20 19:53:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-12-20 19:53:05 +0000
commit0b57cec536236d46e3dba9bd041533462f33dbb7 (patch)
tree56229dbdbbf76d18580f72f789003db17246c8d9 /contrib/llvm-project/libcxx/include/tgmath.h
parent718ef55ec7785aae63f98f8ca05dc07ed399c16d (diff)
Notes
Diffstat (limited to 'contrib/llvm-project/libcxx/include/tgmath.h')
-rw-r--r--contrib/llvm-project/libcxx/include/tgmath.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/contrib/llvm-project/libcxx/include/tgmath.h b/contrib/llvm-project/libcxx/include/tgmath.h
new file mode 100644
index 000000000000..2dc1f771d91c
--- /dev/null
+++ b/contrib/llvm-project/libcxx/include/tgmath.h
@@ -0,0 +1,36 @@
+// -*- C++ -*-
+//===-------------------------- tgmath.h ----------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef _LIBCPP_TGMATH_H
+#define _LIBCPP_TGMATH_H
+
+/*
+ tgmath.h synopsis
+
+#include <ctgmath>
+
+*/
+
+#include <__config>
+
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
+#pragma GCC system_header
+#endif
+
+#ifdef __cplusplus
+
+#include <ctgmath>
+
+#else // __cplusplus
+
+#include_next <tgmath.h>
+
+#endif // __cplusplus
+
+#endif // _LIBCPP_TGMATH_H