summaryrefslogtreecommitdiff
path: root/src/common/sysinfo.h
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-07-08 23:19:49 -0300
committerpanikon <panikon@zoho.com>2014-07-08 23:19:49 -0300
commit7cd967f812ab741c41c416fb9f7c2a921c36e947 (patch)
tree19f7f296fcf58bc5fdb2854cbbf5bae70d84a07d /src/common/sysinfo.h
parenta10dd560f02642805b59c6269d7c23cd485b8dd2 (diff)
downloadhercules-7cd967f812ab741c41c416fb9f7c2a921c36e947.tar.gz
hercules-7cd967f812ab741c41c416fb9f7c2a921c36e947.tar.bz2
hercules-7cd967f812ab741c41c416fb9f7c2a921c36e947.tar.xz
hercules-7cd967f812ab741c41c416fb9f7c2a921c36e947.zip
Extracted method to obtain SYSTEM_INFO from functions in sysinfo.c
Added proper method to obtain page size in windows
Diffstat (limited to 'src/common/sysinfo.h')
-rw-r--r--src/common/sysinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/sysinfo.h b/src/common/sysinfo.h
index c0c4d276a..97f14d0f2 100644
--- a/src/common/sysinfo.h
+++ b/src/common/sysinfo.h
@@ -21,6 +21,7 @@ struct sysinfo_private;
struct sysinfo_interface {
struct sysinfo_private *p;
+ long (*getpagesize) (void);
const char *(*platform) (void);
const char *(*osversion) (void);
const char *(*cpu) (void);