blob: cdf97ac4671eb5a71557c3917519b2cd9ff5db0e [file] [log] [blame]
Howard Hinnantc51e1022010-05-11 19:42:16 +00001// -*- C++ -*-
2//===--------------------------- complex.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_COMPLEX_H
11#define _LIBCPP_COMPLEX_H
12
13/*
14 complex.h synopsis
15
16#include <ccomplex>
17
18*/
19
Richard Smith523b1722015-10-09 00:26:50 +000020#include <__config>
21
22#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
23#pragma GCC system_header
24#endif
25
Howard Hinnantd2ef2f92010-07-29 18:43:15 +000026#ifdef __cplusplus
27
Howard Hinnantc51e1022010-05-11 19:42:16 +000028#include <ccomplex>
29
Howard Hinnant3b6579a2010-08-22 00:02:43 +000030#else // __cplusplus
Howard Hinnantd2ef2f92010-07-29 18:43:15 +000031
32#include_next <complex.h>
33
Louis Dionne2b1ceaa2021-04-20 12:03:32 -040034#endif // __cplusplus
Howard Hinnantd2ef2f92010-07-29 18:43:15 +000035
Louis Dionne2b1ceaa2021-04-20 12:03:32 -040036#endif // _LIBCPP_COMPLEX_H