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:
alkondratenko@gmail.com 2013-07-26 19:35:38 +00:00
parent 6d4ad4428b
commit 11d46f0aac
2 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@
// -----------------------------------------------------------------------
// Basic libraries
PERFTOOLS_DLL_DECL
int getpagesize() {
static int pagesize = 0;
if (pagesize == 0) {

View File

@ -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 */