On Tue, Jul 23, 2013 at 10:29 AM, sin <s...@2f30.org> wrote: > On Tue, Jul 23, 2013 at 10:18:01AM -0400, Steve Dee wrote: >> I don't have time to do this for the next few days. Actually, I had a bit of time before running off into the woods. Here's something that compiles on both OpenBSD and Linux. The conditional directives are intentionally overspecific -- ideally we'll remove them, but maybe this'll help in coming up with a good solution.
> > Yeah I chose to do df(1) exactly because it will be incompatible > with BSD. I want to find a sensible solution so we can have it > working on BSD as well. This raises a good point. There's a larger question around how cross-platform we want to be. I'm too new here to have much to say on it, besides that I love the code I've seen in both BSD and the various suckless projects.
sbase-df-cond-cc.patch
Description: Binary data