mirror of
https://github.com/gperftools/gperftools
synced 2025-01-19 21:40:58 +00:00
issue-556: dll-export getpagesize
Because page_heap_test needs this. git-svn-id: http://gperftools.googlecode.com/svn/trunk@231 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
This commit is contained in:
parent
6d4ad4428b
commit
11d46f0aac
@ -50,6 +50,7 @@
|
||||
// -----------------------------------------------------------------------
|
||||
// Basic libraries
|
||||
|
||||
PERFTOOLS_DLL_DECL
|
||||
int getpagesize() {
|
||||
static int pagesize = 0;
|
||||
if (pagesize == 0) {
|
||||
|
@ -407,7 +407,7 @@ inline int poll(struct pollfd* fds, int nfds, int timeout) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
EXTERN_C int getpagesize(); /* in port.cc */
|
||||
EXTERN_C PERFTOOLS_DLL_DECL int getpagesize(); /* in port.cc */
|
||||
|
||||
/* ----------------------------------- OTHER */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user