[sword-devel] small patch for mingw

Matthew Talbert ransom1982 at gmail.com
Thu Dec 3 22:56:58 MST 2009

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>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: step.patch
Type: text/x-diff
Size: 319 bytes
Desc: not available
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20091204/e5a01964/attachment.bin>

More information about the sword-devel mailing list