Retro68/gcc/libstdc++-v3/include/c_compatibility/complex.h

47 lines
1.4 KiB
C
Raw Normal View History

2012-03-27 23:13:14 +00:00
// -*- C++ -*- compatibility header.
2015-08-28 15:33:40 +00:00
// Copyright (C) 2007-2015 Free Software Foundation, Inc.
2012-03-27 23:13:14 +00:00
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
/** @file complex.h
* This is a Standard C++ Library header.
*/
#include <bits/c++config.h>
2014-09-21 17:33:12 +00:00
#if __cplusplus >= 201103L
2012-03-27 23:13:14 +00:00
# include <ccomplex>
2014-09-21 17:33:12 +00:00
#endif
#if _GLIBCXX_HAVE_COMPLEX_H
# include_next <complex.h>
# ifdef _GLIBCXX_COMPLEX
// See PR56111, keep the macro in C++03 if possible.
# undef complex
2012-03-27 23:13:14 +00:00
# endif
#endif
#ifndef _GLIBCXX_COMPLEX_H
#define _GLIBCXX_COMPLEX_H 1
#endif