]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR target/34794 (build of gcc 4.2.2 fails on AIX 6.1 / libstdc++-v3...
authorDavid Edelsohn <edelsohn@gnu.org>
Thu, 13 Mar 2008 19:03:23 +0000 (19:03 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Thu, 13 Mar 2008 19:03:23 +0000 (15:03 -0400)
        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

libstdc++-v3/ChangeLog
libstdc++-v3/config/os/aix/os_defines.h

index 90066f5ae3be3d0eb311bbd043d65fd4abb45fd6..7687c642ad8ebdf0c610126b101d668ebc4abdf4 100644 (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
index 8f1f8138ab6508ab48f778c845ca3f0727a40609..2aa9f7fc2cb3f6ef8ad36fd27af65717ed25b62d 100644 (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