From: David Edelsohn Date: Thu, 13 Mar 2008 19:03:23 +0000 (+0000) Subject: backport: re PR target/34794 (build of gcc 4.2.2 fails on AIX 6.1 / libstdc++-v3... X-Git-Tag: prereleases/gcc-4.2.4-rc1~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4db74ad1db4817e2ad0fffe9565c7c08966f530f;p=thirdparty%2Fgcc.git 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 PR target/34794 * config/os/aix/os_defines.h: Define __COMPATMATH__. From-SVN: r133184 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 90066f5ae3be..7687c642ad8e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,11 @@ +2008-03-13 David Edelsohn + + Backport from mainline: + 2008-01-26 David Edelsohn + + PR target/34794 + * config/os/aix/os_defines.h: Define __COMPATMATH__. + 2008-02-14 Kaveh R. Ghazi * testsuite/27_io/fpos/14320-1.cc: Check for "long long" and diff --git a/libstdc++-v3/config/os/aix/os_defines.h b/libstdc++-v3/config/os/aix/os_defines.h index 8f1f8138ab65..2aa9f7fc2cb3 100644 --- a/libstdc++-v3/config/os/aix/os_defines.h +++ b/libstdc++-v3/config/os/aix/os_defines.h @@ -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