diff options
author | infirit <[email protected]> | 2014-12-19 01:08:47 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-19 01:08:47 +0100 |
commit | e55735b613afe7af55a4e25fa92aadf9fb804294 (patch) | |
tree | 29ca70b4564265e14fcd7670132803d83974e069 /src/openfiles.cpp | |
parent | 0517ae4843573aeebefd1ae229c703906eb21b4e (diff) | |
download | mate-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/openfiles.cpp')
0 files changed, 0 insertions, 0 deletions