I haven't tested on Windows yet, but cross-compiling with gcc 4.4.2,
needs this patch, otherwise SEEK_SET is undefined.

Index: utilities/stepdump.cpp
===================================================================
--- utilities/stepdump.cpp      (revision 2480)
+++ utilities/stepdump.cpp      (working copy)
@@ -19,6 +19,7 @@
 #include <string>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <stdio.h>

 #ifndef __GNUC__
 #include <io.h>

Matthew
Index: utilities/stepdump.cpp
===================================================================
--- utilities/stepdump.cpp	(revision 2480)
+++ utilities/stepdump.cpp	(working copy)
@@ -19,6 +19,7 @@
 #include <string>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <stdio.h>
 
 #ifndef __GNUC__
 #include <io.h>
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to