diff options
author | panikon <panikon@zoho.com> | 2014-07-09 00:19:37 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-07-09 00:19:37 -0300 |
commit | 29de937a2d8b485498fa9ce573efebfb64e8d669 (patch) | |
tree | 62dcf35fc2fba45c7a108c3d60046a741b0a50df /src/common | |
parent | 7cd967f812ab741c41c416fb9f7c2a921c36e947 (diff) | |
download | hercules-29de937a2d8b485498fa9ce573efebfb64e8d669.tar.gz hercules-29de937a2d8b485498fa9ce573efebfb64e8d669.tar.bz2 hercules-29de937a2d8b485498fa9ce573efebfb64e8d669.tar.xz hercules-29de937a2d8b485498fa9ce573efebfb64e8d669.zip |
Fixed status_calc_regen crash issue:http://hercules.ws/board/tracker/issue-1298-mapserver-crashed-item-check/
Follow up to 7cd967f812ab741c41c416fb9f7c2a921c36e947
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/sysinfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/sysinfo.h b/src/common/sysinfo.h index 97f14d0f2..24f794cb4 100644 --- a/src/common/sysinfo.h +++ b/src/common/sysinfo.h @@ -21,7 +21,11 @@ struct sysinfo_private; struct sysinfo_interface { struct sysinfo_private *p; +#if defined(WIN32) && !defined(__CYGWIN__) long (*getpagesize) (void); +#else + int (*getpagesize) (void); +#endif const char *(*platform) (void); const char *(*osversion) (void); const char *(*cpu) (void); |