From f69e0216f4f5f2a1c0cf97f7adccef6e2d826eab Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Mon, 6 Dec 2004 16:50:44 +0000 Subject: [PATCH] re PR libstdc++/18837 (testsuite_performance.h:63: error: redefinition of 'struct mallinfo') 2004-12-06 Paolo Carlini PR libstdc++/18837 * testsuite/testsuite_performance.h: Fix mallinfo macros for hpux. From-SVN: r91782 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/testsuite/testsuite_performance.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 36203bc986b7..5203cd3b4f04 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2004-12-06 Paolo Carlini + + PR libstdc++/18837 + * testsuite/testsuite_performance.h: Fix mallinfo macros for + hpux. + 2004-12-06 Volker Reichelt * config/locale/ieee_1003.1-2001/codecvt_specializations.h diff --git a/libstdc++-v3/testsuite/testsuite_performance.h b/libstdc++-v3/testsuite/testsuite_performance.h index a0d0c2991d97..d76c2521c0ce 100644 --- a/libstdc++-v3/testsuite/testsuite_performance.h +++ b/libstdc++-v3/testsuite/testsuite_performance.h @@ -1,7 +1,7 @@ // -*- C++ -*- // Testing performance utilities for the C++ library testsuite. // -// Copyright (C) 2003 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004 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 @@ -56,7 +56,7 @@ extern "C" return m; } } -#else +#elif !defined (__hpux__) extern "C" { struct mallinfo -- 2.47.2