diff options
-rw-r--r-- | win32/getrusage.c | 3 | ||||
-rw-r--r-- | win32/getrusage.h | 10 |
2 files changed, 8 insertions, 5 deletions
diff --git a/win32/getrusage.c b/win32/getrusage.c index 53861cb66f..3edc53f115 100644 --- a/win32/getrusage.c +++ b/win32/getrusage.c @@ -72,4 +72,5 @@ PHPAPI int getrusage(int who, struct rusage *usage) } else { return -1; } -}
\ No newline at end of file +} + 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 + |