aboutsummaryrefslogtreecommitdiff
blob: 191c5c93b103db4de0ea4ac10a76ade7c559e0f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From f091b4f1bc820624fdbf756f1bc885f159fb3028 Mon Sep 17 00:00:00 2001
From: Ingo Krabbe <ingo.krabbe@eoa.de>
Date: Thu, 24 Dec 2009 16:18:47 +0100
Subject: [PATCH] fenv.h fix, as include_next blocks the next file in the original version.

---
 libstdc++-v3/include/c_compatibility/fenv.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libstdc++-v3/include/c_compatibility/fenv.h b/libstdc++-v3/include/c_compatibility/fenv.h
index 5db6d9d..b6b1c41 100644
--- a/libstdc++-v3/include/c_compatibility/fenv.h
+++ b/libstdc++-v3/include/c_compatibility/fenv.h
@@ -26,9 +26,6 @@
  *  This is a Standard C++ Library header.
  */
 
-#ifndef _GLIBCXX_FENV_H
-#define _GLIBCXX_FENV_H 1
-
 #pragma GCC system_header
 
 #include <bits/c++config.h>
@@ -36,6 +33,9 @@
 # include_next <fenv.h>
 #endif
 
+#ifndef _GLIBCXX_FENV_H
+#define _GLIBCXX_FENV_H 1
+
 #ifdef __GXX_EXPERIMENTAL_CXX0X__
 #  if defined(_GLIBCXX_INCLUDE_AS_TR1)
 #    error C++0x header cannot be included from TR1 header
-- 
1.6.4.4