Rev 1.16 renamed VM_METER to VM_TOTAL. This is breaking 3rd-party apps.
So add a VM_METER compat define. Submitted by: Andy Fawcett <andy@athame.co.uk>
This commit is contained in:
parent
7bfe4b9807
commit
c4aa0a2e38
@ -77,6 +77,7 @@
|
||||
* CTL_VM identifiers
|
||||
*/
|
||||
#define VM_TOTAL 1 /* struct vmtotal */
|
||||
#define VM_METER VM_TOTAL/* deprecated, use VM_TOTAL */
|
||||
#define VM_LOADAVG 2 /* struct loadavg */
|
||||
#define VM_V_FREE_MIN 3 /* cnt.v_free_min */
|
||||
#define VM_V_FREE_TARGET 4 /* cnt.v_free_target */
|
||||
|
Loading…
x
Reference in New Issue
Block a user