[sword-devel] building with mingw
Troy A. Griffitts
scribe at crosswire.org
Mon Apr 27 12:02:00 MST 2009
Applied. Thanks Matthew.
Matthew Talbert wrote:
> The following patch is necessary to build with MinGW (gcc 4.3.3).
> Without it, SEEK_END is undefined. I haven't tested this on linux, but
> it looks harmless.
>
>
> Index: src/modules/lexdict/rawld/rawld.cpp
> ===================================================================
> --- src/modules/lexdict/rawld/rawld.cpp (revision 2349)
> +++ src/modules/lexdict/rawld/rawld.cpp (working copy)
> @@ -26,6 +26,8 @@
> #include <rawld.h>
> #include <filemgr.h>
>
> +#include <stdio.h>
> +
> SWORD_NAMESPACE_START
>
> /******************************************************************************
> Index: src/modules/lexdict/zld/zld.cpp
> ===================================================================
> --- src/modules/lexdict/zld/zld.cpp (revision 2349)
> +++ src/modules/lexdict/zld/zld.cpp (working copy)
> @@ -25,6 +25,8 @@
> #include <zld.h>
> #include <filemgr.h>
>
> +#include <stdio.h>
> +
> SWORD_NAMESPACE_START
>
> /******************************************************************************
> Index: src/modules/lexdict/rawld4/rawld4.cpp
> ===================================================================
> --- src/modules/lexdict/rawld4/rawld4.cpp (revision 2349)
> +++ src/modules/lexdict/rawld4/rawld4.cpp (working copy)
> @@ -26,6 +26,8 @@
> #include <rawstr4.h>
> #include <rawld4.h>
>
> +#include <stdio.h>
> +
> SWORD_NAMESPACE_START
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel
mailing list