Hello Aaron,

>     battery_perc: Port to OpenBSD.

> +#elif __OpenBSD__
> +#ifdef __linux__
> +#elif __OpenBSD__
> +#endif
> +#ifdef __linux__

If you're going to do this for every module for every OS you're
planning on supporting, this is a bad start imho.

What would you think about rather separating objects to their OS
directory and chose which to build/link at make time?


Reply via email to