Betr.: Re: [sword-devel] Compiling sword API 1.5.6 on OpenBSD 3.4

Adam Maxwell sword-devel@crosswire.org
Tue, 11 Nov 2003 18:51:26 -0600


On 10 Nov, 2003, at 04:37, M. Ruff wrote:
> #ifdef unix# include <unistd.h>#else# include <direct.h>           //
> This one is missing# include <io.h>                 // This one is also
> missing#endif
> Seems pretty basic, but now I read this, it's probably the that 'unix'
> isn't defined. I wonder why...

If you change #ifdef unix to #ifdef UNIX it should work fine (at least 
I had to do this on OS X).  I think I posted about this a couple months 
ago.

hth,
Adam