backport: re PR target/34794 (build of gcc 4.2.2 fails on AIX 6.1 / libstdc++-v3/libmath/stubs.c:47)

Backport from mainline:
        2008-01-26  David Edelsohn  <edelsohn@gnu.org>

        PR target/34794
        * config/os/aix/os_defines.h: Define __COMPATMATH__.

From-SVN: r133184
This commit is contained in:
David Edelsohn
2008-03-13 19:03:23 +00:00
committed by David Edelsohn
parent 8198d4c9a2
commit 4db74ad1db
2 changed files with 14 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
2008-03-13 David Edelsohn <edelsohn@gnu.org>
Backport from mainline:
2008-01-26 David Edelsohn <edelsohn@gnu.org>
PR target/34794
* config/os/aix/os_defines.h: Define __COMPATMATH__.
2008-02-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* testsuite/27_io/fpos/14320-1.cc: Check for "long long" and

View File

@@ -1,6 +1,6 @@
// Specific definitions for AIX -*- C++ -*-
// Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002, 2005, 2008 Free Software Foundation, Inc.
//
// 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
@@ -48,4 +48,9 @@
#define _ALL_SOURCE
#endif
// C99 math
#ifndef __COMPATMATH__
#define __COMPATMATH__
#endif
#endif