[gedit] W32: don't redefine _WIN32_WINNT



commit 8911301a6ce68bfa4cb8da59afb77c374ee8aadb
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Sat Apr 5 12:42:22 2014 +0000

    W32: don't redefine _WIN32_WINNT
    
    https://bugzilla.gnome.org/show_bug.cgi?id=727659

 gedit/gedit-app-win32.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-app-win32.c b/gedit/gedit-app-win32.c
index d548eeb..96aca51 100644
--- a/gedit/gedit-app-win32.c
+++ b/gedit/gedit-app-win32.c
@@ -26,7 +26,9 @@
 #undef DATADIR
 #include <io.h>
 #include <conio.h>
+#ifndef _WIN32_WINNT
 #define _WIN32_WINNT 0x0501
+#endif
 #include <windows.h>
 #define DATADIR SAVE_DATADIR
 #undef SAVE_DATADIR


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