libstdc++: Move include guards to start of headers
libstdc++-v3/ChangeLog: * include/c_compatibility/complex.h (_GLIBCXX_COMPLEX_H): Move include guard to start of the header. * include/c_global/ctgmath (_GLIBCXX_CTGMATH): Likewise.
This commit is contained in:
parent
1b169ee7e2
commit
6a050a3e65
2 changed files with 6 additions and 6 deletions
|
@ -26,6 +26,9 @@
|
||||||
* This is a Standard C++ Library header.
|
* This is a Standard C++ Library header.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _GLIBCXX_COMPLEX_H
|
||||||
|
#define _GLIBCXX_COMPLEX_H 1
|
||||||
|
|
||||||
#include <bits/c++config.h>
|
#include <bits/c++config.h>
|
||||||
|
|
||||||
#if __cplusplus >= 201103L
|
#if __cplusplus >= 201103L
|
||||||
|
@ -42,7 +45,4 @@
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _GLIBCXX_COMPLEX_H
|
|
||||||
#define _GLIBCXX_COMPLEX_H 1
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -26,13 +26,13 @@
|
||||||
* This is a Standard C++ Library header.
|
* This is a Standard C++ Library header.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _GLIBCXX_CTGMATH
|
||||||
|
#define _GLIBCXX_CTGMATH 1
|
||||||
|
|
||||||
#ifdef _GLIBCXX_SYSHDR
|
#ifdef _GLIBCXX_SYSHDR
|
||||||
#pragma GCC system_header
|
#pragma GCC system_header
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _GLIBCXX_CTGMATH
|
|
||||||
#define _GLIBCXX_CTGMATH 1
|
|
||||||
|
|
||||||
#if __cplusplus < 201103L
|
#if __cplusplus < 201103L
|
||||||
# include <bits/c++0x_warning.h>
|
# include <bits/c++0x_warning.h>
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue