Add a portable getpagesize() implementation

This commit is contained in:
Victor Zverovich
2014-09-12 13:53:52 -07:00
parent 1e9ca17b9d
commit 74169e4b5d
4 changed files with 42 additions and 1 deletions
+4 -1
View File
@@ -320,7 +320,10 @@ class File {
// this File object from the file.
BufferedFile fdopen(const char *mode);
};
}
// Returns the memory page size.
long getpagesize();
} // namespace fmt
#if !FMT_USE_RVALUE_REFERENCES
namespace std {