summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2013-03-25 22:12:52 (GMT)
committerTobias Markmann <tm@ayena.de>2013-03-26 22:31:39 (GMT)
commit20ead0a84fdd8c9e870e98ee6a2712bfa263d7fb (patch)
tree537b08f35ba08de612856d8376e171766212b98a /SwifTools/SpellCheckerFactory.h
parent99063cc6e9168bf88d6c245d1f8bac02bd898c3d (diff)
downloadswift-20ead0a84fdd8c9e870e98ee6a2712bfa263d7fb.zip
swift-20ead0a84fdd8c9e870e98ee6a2712bfa263d7fb.tar.bz2
Adding basic support for native spell checking on Mac OS X.
Change-Id: Id29313a06f052ecbaef54be0c185cd7f1df375a2 License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Diffstat (limited to 'SwifTools/SpellCheckerFactory.h')
-rw-r--r--SwifTools/SpellCheckerFactory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/SwifTools/SpellCheckerFactory.h b/SwifTools/SpellCheckerFactory.h
index 086ea66..91118f9 100644
--- a/SwifTools/SpellCheckerFactory.h
+++ b/SwifTools/SpellCheckerFactory.h
@@ -6,8 +6,12 @@
#pragma once
+#include <Swiften/Base/Platform.h>
+
#ifdef HAVE_HUNSPELL
#define HAVE_SPELLCHECKER
+#elif defined(SWIFTEN_PLATFORM_MACOSX)
+#define HAVE_SPELLCHECKER
#endif
namespace Swift {