[gspell] win32: include windef.h instead of windows.h



commit 7a51b17a061cb4e83c5d0e862cb1c4c32c7033e7
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Thu Dec 1 21:02:23 2016 +0100

    win32: include windef.h instead of windows.h
    
    To do the same as in GtkSourceView, see:
    https://git.gnome.org/browse/gtksourceview/commit/?id=71924eebd1d7456a12d8dff24faf81b4950c1d87

 gspell/gspell-init.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gspell/gspell-init.h b/gspell/gspell-init.h
index e93c00b..fa865df 100644
--- a/gspell/gspell-init.h
+++ b/gspell/gspell-init.h
@@ -24,8 +24,7 @@
 #include <glib.h>
 
 #ifdef G_OS_WIN32
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
+#include <windef.h>
 
 G_GNUC_INTERNAL
 HMODULE _gspell_init_get_dll (void);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]