summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Albright <eric_albright@sil.org>2008-05-16 03:43:37 +0000
committerEric Albright <eric_albright@sil.org>2008-05-16 03:43:37 +0000
commit65aacfa24a234a40f9d44a4db4d0e0f646c56304 (patch)
treec9c4c1cd6ba20a64fe9b0ffc89bd62c17ec6fe4d
parent1a12e662b2da788a874cfe3c98e1318dc2efa6e4 (diff)
downloadenchant-65aacfa24a234a40f9d44a4db4d0e0f646c56304.tar.gz
fix crash with ispell provider on Windows due to different definitions of MAXPATHLEN
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@23921 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r--src/ispell/ispell_checker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ispell/ispell_checker.h b/src/ispell/ispell_checker.h
index 8ef68a1..be14fc1 100644
--- a/src/ispell/ispell_checker.h
+++ b/src/ispell/ispell_checker.h
@@ -31,8 +31,8 @@
#ifndef ISPELL_CHECKER_H
#define ISPELL_CHECKER_H
+#include <glib.h> // give glib a chance to override MAXPATHLEN first before it is set in ispell.h
#include "ispell.h"
-#include <glib.h>
class ISpellChecker
{