diff pidgin/win32/wspell.c @ 30984:7f79ac13965c

Make the win32 build possible to compile without GtkSpell if HAVE_GTKSPELL isn't defined.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 17 Sep 2010 14:41:34 +0000
parents 3d045343e04d
children 274e691dd5f4
line wrap: on
line diff
--- a/pidgin/win32/wspell.c	Fri Sep 17 14:40:13 2010 +0000
+++ b/pidgin/win32/wspell.c	Fri Sep 17 14:41:34 2010 +0000
@@ -22,6 +22,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  *
  */
+#ifdef USE_GTKSPELL
 #include <windows.h>
 #include <string.h>
 #include <stdlib.h>
@@ -102,3 +103,4 @@
 void winpidgin_spell_init() {
 	load_gtkspell();
 }
+#endif