summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ M Maurer <uwog@uwog.net>2009-05-25 15:22:30 +0000
committerJ M Maurer <uwog@uwog.net>2009-05-25 15:22:30 +0000
commitae6bdbd9bad508e285a87a7ca0356b3a56ad3ddd (patch)
tree290dc79e9985e2435aa6c54fb3371b9c1d51b14f
parent300c19a7152aaf8438e15e79d4bd68fa20ec2842 (diff)
downloadenchant-ae6bdbd9bad508e285a87a7ca0356b3a56ad3ddd.tar.gz
Don't define stuff in a public namespace.. bad msvc, bad
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@26532 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r--src/myspell/myspell_checker.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/myspell/myspell_checker.cpp b/src/myspell/myspell_checker.cpp
index 84ab36c..83888af 100644
--- a/src/myspell/myspell_checker.cpp
+++ b/src/myspell/myspell_checker.cpp
@@ -38,6 +38,10 @@
#include "enchant.h"
#include "enchant-provider.h"
+#ifdef near
+#undef near
+#endif
+
/* built against hunspell 1.2.2 on 2008-04-12 */
#ifdef HUNSPELL_STATIC