Re: [hackers] [slstatus] battery_perc: Port to OpenBSD. || Aaron Marcher
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?
Received on Mon Mar 19 2018 - 21:49:25 CET
This archive was generated by hypermail 2.3.0
: Mon Mar 19 2018 - 22:00:25 CET