I was trying to build sword from current CVS on Mac OS X, and had a problem with the sword/src/utilfuns/zlib/untgz.c file trying to include direct.h and io.h, which don't exist on my system. The file has an ifdef unix statement in it that needs to be ifdef UNIX, I believe. The output from diff -Naur follows (untgz.c.fixed is my patched file) if someone wants to check this.
--- sword/src/utilfuns/zlib/untgz.c Sun Aug 31 16:00:18 2003 +++ sword/src/utilfuns/zlib/untgz.c.fixed Sun Aug 31 15:52:08 2003 @@ -11,7 +11,7 @@ #include <time.h> #include <errno.h> #include <fcntl.h> -#ifdef unix +#ifdef UNIX # include <unistd.h> #else # include <direct.h>
thanks, Adam Maxwell
"The academic mind reflects infinity, and is full of light by the simple process of being shallow and standing still." -- G. K. Chesterton, "Manalive"
_______________________________________________ sword-devel mailing list [EMAIL PROTECTED] http://www.crosswire.org/mailman/listinfo/sword-devel
