Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
3e083bea
Commit
3e083bea
authored
Aug 08, 2003
by
Loren J. Rittle
Committed by
Loren J. Rittle
Aug 08, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
From-SVN: r70244
parent
7ce27ffb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
libstdc++-v3/ChangeLog
+4
-0
libstdc++-v3/testsuite/testsuite_performance.h
+7
-0
No files found.
libstdc++-v3/ChangeLog
View file @
3e083bea
2003-08-08 Loren J. Rittle <ljrittle@acm.org>
* testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
2003-08-07 Doug Gregor <dgregor@apple.com>
* include/bits/char_traits.h (char_traits::not_eof): Match operand
...
...
libstdc++-v3/testsuite/testsuite_performance.h
View file @
3e083bea
...
...
@@ -40,6 +40,13 @@
#ifdef __linux__
#include <malloc.h>
#elif defined (__FreeBSD__)
extern
"C"
{
struct
mallinfo
{
int
uordblks
;
};
struct
mallinfo
mallinfo
(
void
)
{
struct
mallinfo
m
=
{
(((
size_t
)
sbrk
(
0
)
+
1023
)
/
1024
)
};
return
m
;
}
}
#else
extern
"C"
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment