129995acbd
FreeBSD uses libspnav, just like a Linux does, so all the conditional code addressing the spnav APIs should be used on FreeBSD, too. Unfortunately, the logic was not consistent in all places: sometimes we had "#ifdef", sometimes "#if defined" and sometimes it was negated as "#ifndef". To make the intention clearer across both Linux and FreeBSD, I unified all places to a "#if defined(__linux__) || defined(__FreeBSD__)". If we get another OS latching onto the same logic, we should introduce a simple flag for this, but for only two OSes I decided against adding central logic for this.