xref: /netbsd-src/external/apache2/llvm/dist/libcxx/include/complex.h (revision 4d6fc14bc9b0c5bf3e30be318c143ee82cadd108)
1*4d6fc14bSjoerg // -*- C++ -*-
2*4d6fc14bSjoerg //===--------------------------- complex.h --------------------------------===//
3*4d6fc14bSjoerg //
4*4d6fc14bSjoerg // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5*4d6fc14bSjoerg // See https://llvm.org/LICENSE.txt for license information.
6*4d6fc14bSjoerg // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7*4d6fc14bSjoerg //
8*4d6fc14bSjoerg //===----------------------------------------------------------------------===//
9*4d6fc14bSjoerg 
10*4d6fc14bSjoerg #ifndef _LIBCPP_COMPLEX_H
11*4d6fc14bSjoerg #define _LIBCPP_COMPLEX_H
12*4d6fc14bSjoerg 
13*4d6fc14bSjoerg /*
14*4d6fc14bSjoerg     complex.h synopsis
15*4d6fc14bSjoerg 
16*4d6fc14bSjoerg #include <ccomplex>
17*4d6fc14bSjoerg 
18*4d6fc14bSjoerg */
19*4d6fc14bSjoerg 
20*4d6fc14bSjoerg #include <__config>
21*4d6fc14bSjoerg 
22*4d6fc14bSjoerg #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
23*4d6fc14bSjoerg #pragma GCC system_header
24*4d6fc14bSjoerg #endif
25*4d6fc14bSjoerg 
26*4d6fc14bSjoerg #ifdef __cplusplus
27*4d6fc14bSjoerg 
28*4d6fc14bSjoerg #include <ccomplex>
29*4d6fc14bSjoerg 
30*4d6fc14bSjoerg #else  // __cplusplus
31*4d6fc14bSjoerg 
32*4d6fc14bSjoerg #include_next <complex.h>
33*4d6fc14bSjoerg 
34*4d6fc14bSjoerg #endif // __cplusplus
35*4d6fc14bSjoerg 
36*4d6fc14bSjoerg #endif // _LIBCPP_COMPLEX_H
37