diff options
author | Anatol Belski <ab@php.net> | 2015-05-20 18:44:58 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-05-20 19:14:02 +0200 |
commit | 5dc7db8ee7e331cb9ed849d59ac7af5c701fa99d (patch) | |
tree | 72d43060dc0f4814e4099bf2caff841ea1ad1457 /win32/getrusage.h | |
parent | b081da657e4c334edce83e2548df00f502fb4a90 (diff) | |
download | php-git-5dc7db8ee7e331cb9ed849d59ac7af5c701fa99d.tar.gz |
disable unused members in struct rusage
Diffstat (limited to 'win32/getrusage.h')
-rw-r--r-- | win32/getrusage.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/win32/getrusage.h b/win32/getrusage.h index 5df67acf6f..8a6b9a7510 100644 --- a/win32/getrusage.h +++ b/win32/getrusage.h @@ -70,6 +70,9 @@ struct rusage /* Integral max resident set size */ zend_long ru_maxrss; + /* Page faults */ + zend_long ru_majflt; +#if 0 /* Integral shared text memory size */ zend_long ru_ixrss; @@ -82,9 +85,6 @@ struct rusage /* Page reclaims */ zend_long ru_minflt; - /* Page faults */ - zend_long ru_majflt; - /* Swaps */ zend_long ru_nswap; @@ -108,8 +108,10 @@ struct rusage /* Involuntary context switches */ zend_long ru_nivcsw; +#endif }; PHPAPI int getrusage(int who, struct rusage *usage); -#endif
\ No newline at end of file +#endif + |