diff options
author | OBATA Akio <[email protected]> | 2019-04-06 16:49:26 +0900 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-08-18 15:36:50 +0200 |
commit | 4741832142e091d641fb8a90607b4595accb905d (patch) | |
tree | 31f31b6389635adc523c7a33f873a9562e1adadb /kcontrol/info/memory_netbsd.cpp | |
parent | 0aaebc24cd00c9dd833c16dd14d1814948baac38 (diff) | |
download | tdebase-4741832142e091d641fb8a90607b4595accb905d.tar.gz tdebase-4741832142e091d641fb8a90607b4595accb905d.zip |
Revive NetBSD support
Catch up to TDE and OS changes
Signed-off-by: OBATA Akio <[email protected]>
(cherry picked from commit 2a88ec3c02ab46c8b816cfa348ea53075f57a59c)
Diffstat (limited to 'kcontrol/info/memory_netbsd.cpp')
-rw-r--r-- | kcontrol/info/memory_netbsd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kcontrol/info/memory_netbsd.cpp b/kcontrol/info/memory_netbsd.cpp index 39beeaa33..015fdd0ec 100644 --- a/kcontrol/info/memory_netbsd.cpp +++ b/kcontrol/info/memory_netbsd.cpp @@ -22,7 +22,7 @@ void KMemoryWidget::update() int mib[2]; size_t len; #ifdef UVM -#if __NetBSD_Version__ > 499000100 /* 4.99.2+ */ +#if __NetBSD_Version__ > 106000000 /* 1.6+ */ struct uvmexp_sysctl uvmexp; #else struct uvmexp uvmexp; @@ -53,7 +53,7 @@ void KMemoryWidget::update() #ifdef UVM mib[0] = CTL_VM; -#if __NetBSD_Version__ > 499000100 /* 4.99.2+ */ +#if __NetBSD_Version__ > 106000000 /* 1.6+ */ mib[1] = VM_UVMEXP2; #else mib[1] = VM_UVMEXP; |