17a984708SDavid Chisnall // -*- C++ -*-
27a984708SDavid Chisnall //===-------------------------- tgmath.h ----------------------------------===//
37a984708SDavid Chisnall //
47a984708SDavid Chisnall //                     The LLVM Compiler Infrastructure
57a984708SDavid Chisnall //
67a984708SDavid Chisnall // This file is dual licensed under the MIT and the University of Illinois Open
77a984708SDavid Chisnall // Source Licenses. See LICENSE.TXT for details.
87a984708SDavid Chisnall //
97a984708SDavid Chisnall //===----------------------------------------------------------------------===//
107a984708SDavid Chisnall 
117a984708SDavid Chisnall #ifndef _LIBCPP_TGMATH_H
127a984708SDavid Chisnall #define _LIBCPP_TGMATH_H
137a984708SDavid Chisnall 
147a984708SDavid Chisnall /*
157a984708SDavid Chisnall     tgmath.h synopsis
167a984708SDavid Chisnall 
17*4ba319b5SDimitry Andric #include <ctgmath>
187a984708SDavid Chisnall 
197a984708SDavid Chisnall */
207a984708SDavid Chisnall 
21*4ba319b5SDimitry Andric #include <__config>
227a984708SDavid Chisnall 
237a984708SDavid Chisnall #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
247a984708SDavid Chisnall #pragma GCC system_header
257a984708SDavid Chisnall #endif
267a984708SDavid Chisnall 
27*4ba319b5SDimitry Andric #ifdef __cplusplus
28*4ba319b5SDimitry Andric 
29*4ba319b5SDimitry Andric #include <ctgmath>
30*4ba319b5SDimitry Andric 
31*4ba319b5SDimitry Andric #else  // __cplusplus
32*4ba319b5SDimitry Andric 
33*4ba319b5SDimitry Andric #include_next <tgmath.h>
34*4ba319b5SDimitry Andric 
35*4ba319b5SDimitry Andric #endif  // __cplusplus
36*4ba319b5SDimitry Andric 
377a984708SDavid Chisnall #endif  // _LIBCPP_TGMATH_H
38