re PR libstdc++/18837 (testsuite_performance.h:63: error: redefinition of 'struct mallinfo')

2004-12-05  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/18837
	* testsuite/testsuite_performance.h: Fix mallinfo macros for
	hpux.

From-SVN: r91757
This commit is contained in:
Paolo Carlini 2004-12-05 23:28:22 +00:00 committed by Paolo Carlini
parent 618a86bf2b
commit ae23f7575c
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-12-05 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/18837
* testsuite/testsuite_performance.h: Fix mallinfo macros for
hpux.
2004-12-04 Richard Henderson <rth@redhat.com> 2004-12-04 Richard Henderson <rth@redhat.com>
* testsuite/26_numerics/complex/pow.cc: Use -mieee on alpha. * testsuite/26_numerics/complex/pow.cc: Use -mieee on alpha.

View File

@ -1,7 +1,7 @@
// -*- C++ -*- // -*- C++ -*-
// Testing performance utilities for the C++ library testsuite. // 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 // 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 // software; you can redistribute it and/or modify it under the
@ -56,7 +56,7 @@ extern "C"
return m; return m;
} }
} }
#else #elif !defined (__hpux__)
extern "C" extern "C"
{ {
struct mallinfo struct mallinfo