summaryrefslogtreecommitdiff
path: root/libstdc++-v3/config/os/aix/os_defines.h
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2008-01-26 16:28:03 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2008-01-26 11:28:03 -0500
commit62a37275feaabf300a7bed13e76994262b8114da (patch)
tree37d193372ed79fb43d563ba35b0efb65a14b45f7 /libstdc++-v3/config/os/aix/os_defines.h
parentba6a1b78c009c8114f4852a93cb97443e7bf4243 (diff)
downloadgcc-62a37275feaabf300a7bed13e76994262b8114da.tar.gz
re PR target/34794 (build of gcc 4.2.2 fails on AIX 6.1 / libstdc++-v3/libmath/stubs.c:47)
PR target/34794 * config/os/aix/os_defines.h: Define __COMPATMATH__. From-SVN: r131866
Diffstat (limited to 'libstdc++-v3/config/os/aix/os_defines.h')
-rw-r--r--libstdc++-v3/config/os/aix/os_defines.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/config/os/aix/os_defines.h b/libstdc++-v3/config/os/aix/os_defines.h
index 8f1f8138ab6..2aa9f7fc2cb 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