Ticket #116: 0001-fenv.h-fix-as-include_next-blocks-the-next-file-in-t.patch

File 0001-fenv.h-fix-as-include_next-blocks-the-next-file-in-t.patch, 1.0 KB (added by ikrabbe, 2 years ago)

patch to newer versions of gcc

  • libstdc++-v3/include/c_compatibility/fenv.h

    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 b  
    2626 *  This is a Standard C++ Library header. 
    2727 */ 
    2828 
    29 #ifndef _GLIBCXX_FENV_H 
    30 #define _GLIBCXX_FENV_H 1 
    31  
    3229#pragma GCC system_header 
    3330 
    3431#include <bits/c++config.h> 
     
    3633# include_next <fenv.h> 
    3734#endif 
    3835 
     36#ifndef _GLIBCXX_FENV_H 
     37#define _GLIBCXX_FENV_H 1 
     38 
    3939#ifdef __GXX_EXPERIMENTAL_CXX0X__ 
    4040#  if defined(_GLIBCXX_INCLUDE_AS_TR1) 
    4141#    error C++0x header cannot be included from TR1 header