pidgin/pidgin

win32: Update windows API version to be XP consistently
release-2.x.y
2016-01-05, Daniel Atallah
43b559f9cb68
Parents 7e7d2f4260a6
Children 4e789f9eec2a
win32: Update windows API version to be XP consistently
--- a/libpurple/win32/global.mak Tue Jan 05 13:46:01 2016 -0500
+++ b/libpurple/win32/global.mak Tue Jan 05 14:46:59 2016 -0500
@@ -86,7 +86,7 @@
DEFINES += -DHAVE_CYRUS_SASL
endif
-DEFINES += -DHAVE_CONFIG_H -DWIN32_LEAN_AND_MEAN
+DEFINES += -DHAVE_CONFIG_H -DWIN32_LEAN_AND_MEAN -DWINVER=0x0501 -D_WIN32_WINNT=0x501
CFLAGS += -O2 -Wall $(GCCWARNINGS) $(CC_HARDENING_OPTIONS) -pipe -mms-bitfields -g
--- a/pidgin/plugins/win32/transparency/Makefile.mingw Tue Jan 05 13:46:01 2016 -0500
+++ b/pidgin/plugins/win32/transparency/Makefile.mingw Tue Jan 05 14:46:59 2016 -0500
@@ -8,7 +8,6 @@
include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
TARGET = win2ktrans
-DEFINES += -D_WIN32_WINNT=0x0500
##
## INCLUDE PATHS
--- a/pidgin/plugins/win32/transparency/win2ktrans.c Tue Jan 05 13:46:01 2016 -0500
+++ b/pidgin/plugins/win32/transparency/win2ktrans.c Tue Jan 05 14:46:59 2016 -0500
@@ -21,9 +21,6 @@
* 02111-1301, USA.
*
*/
-#ifndef _WIN32_WINNT
-#define _WIN32_WINNT 0x0500
-#endif
#include <gdk/gdkwin32.h>
#include "internal.h"
--- a/pidgin/plugins/win32/winprefs/Makefile.mingw Tue Jan 05 13:46:01 2016 -0500
+++ b/pidgin/plugins/win32/winprefs/Makefile.mingw Tue Jan 05 14:46:59 2016 -0500
@@ -9,7 +9,6 @@
TARGET = winprefs
DEFINES := $(subst -DWIN32_LEAN_AND_MEAN,,$(DEFINES))
-DEFINES += -DWINVER=0x500
##
## INCLUDE PATHS
--- a/pidgin/win32/MinimizeToTray.c Tue Jan 05 13:46:01 2016 -0500
+++ b/pidgin/win32/MinimizeToTray.c Tue Jan 05 14:46:59 2016 -0500
@@ -14,7 +14,6 @@
*
* Copyright 2000 Matthew Ellis <m.t.ellis@bigfoot.com>
*/
-#define _WIN32_WINNT 0x0500
#include <windows.h>
#include "MinimizeToTray.h"
--- a/pidgin/win32/gtkwin32dep.c Tue Jan 05 13:46:01 2016 -0500
+++ b/pidgin/win32/gtkwin32dep.c Tue Jan 05 14:46:59 2016 -0500
@@ -22,9 +22,6 @@
*
*/
#define _WIN32_IE 0x500
-#ifndef WINVER
-#define WINVER 0x0500 /* W2K */
-#endif
#include <windows.h>
#include <io.h>
#include <stdlib.h>
--- a/pidgin/win32/winpidgin.c Tue Jan 05 13:46:01 2016 -0500
+++ b/pidgin/win32/winpidgin.c Tue Jan 05 14:46:59 2016 -0500
@@ -25,10 +25,6 @@
*
*/
-/* This is for ATTACH_PARENT_PROCESS */
-#ifndef _WIN32_WINNT
-#define _WIN32_WINNT 0x501
-#endif
#include <windows.h>
#include <fcntl.h>
#include <stdlib.h>