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



commit 8eb990df360a6eaac3a6bfe3bcb22636d99edc0b
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Mon Dec 5 20:18:32 2016 +0100

    Revert "win32: include windef.h instead of windows.h"
    
    This reverts commit 7a51b17a061cb4e83c5d0e862cb1c4c32c7033e7.
    
    This was actually good, normally. See the discussion at:
    https://bugzilla.gnome.org/show_bug.cgi?id=774325
    
    Not tested, I don't test gspell on/for Windows.

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


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