summaryrefslogtreecommitdiff
path: root/src/sysinfo.cpp
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-19 01:08:47 +0100
committerinfirit <[email protected]>2014-12-19 01:08:47 +0100
commite55735b613afe7af55a4e25fa92aadf9fb804294 (patch)
tree29ca70b4564265e14fcd7670132803d83974e069 /src/sysinfo.cpp
parent0517ae4843573aeebefd1ae229c703906eb21b4e (diff)
downloadmate-system-monitor-e55735b613afe7af55a4e25fa92aadf9fb804294.tar.bz2
mate-system-monitor-e55735b613afe7af55a4e25fa92aadf9fb804294.tar.xz
OpenBSD: use G_N_ELEMENTS instead of nitems
nitems is never guaranteed to be defined in sys/params.h as it is meant to be defined within a protected ifdef __KERNEL conditional. Use G_N_ELEMENTS from GLib which is the proper way of doing this. Taken from GSM commit: a9972b6a45b490fd316a1a536115baca465e3ae6 From: Antoine Jacoutot <[email protected]>
Diffstat (limited to 'src/sysinfo.cpp')
0 files changed, 0 insertions, 0 deletions