--- src/myspell/myspell_checker.cpp.orig 2009-05-23 11:44:14.000000000 +0200 +++ src/myspell/myspell_checker.cpp 2009-08-08 11:53:11.648688871 +0200 @@ -38,6 +38,12 @@ #include "enchant.h" #include "enchant-provider.h" +#ifdef WIN32 +/* The above #include caused a macro to be defined which + * causes a compile error later on. Work around this */ +#undef near +#endif + /* built against hunspell 1.2.2 on 2008-04-12 */ #ifdef HUNSPELL_STATIC