Skip to content
  • Antoine Jacoutot's avatar
    OpenBSD: use G_N_ELEMENTS instead of nitems · 974212ec
    Antoine Jacoutot authored
    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.
    974212ec