From 554c902bf04e8be122855220c56ed17aea899af3 Mon Sep 17 00:00:00 2001 From: Graham Bloice Date: Sat, 21 Jun 2014 00:37:58 +0100 Subject: [PATCH] Move the Windows build target OS definitions to Win XP This doesn't preclude use on < XP but does potentially allow use of API's that don't exist on Win2K, and doing so would then stop the exe from running on 2K. Change-Id: I08b58bd510b832ddabbb717dd73eb7a89264048e Reviewed-on: https://code.wireshark.org/review/2504 Reviewed-by: Evan Huus Reviewed-by: Michael Mann --- cmakeconfig.h.in | 4 ++-- config.h.win32 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index 51bb88cd3e..7de13b52e4 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -397,8 +397,8 @@ * need these prototypes * XXX: Can we use MSC_VER >= 1500 ?? */ # if _MSC_VER == 1500 || _MSC_VER == 1600 || _MSC_VER == 1700 || _MSC_VER == 1800 -# define NTDDI_VERSION NTDDI_WIN2K -# define _WIN32_WINNT _WIN32_WINNT_WIN2K +# define NTDDI_VERSION NTDDI_WINXPSP3 +# define _WIN32_WINNT _WIN32_WINNT_WINXP # endif /* diff --git a/config.h.win32 b/config.h.win32 index d4c2e9bb69..2db0fed132 100644 --- a/config.h.win32 +++ b/config.h.win32 @@ -232,8 +232,8 @@ /* Visual C 9 (2008), Visual C 10 (2010) and Visual C 11 (2012) and Visual C 12 (2013) need these prototypes */ /* XXX: Can we use MSC_VER >= 1500 ?? */ #if _MSC_VER == 1500 || _MSC_VER == 1600 || _MSC_VER == 1700 || _MSC_VER == 1800 -#define NTDDI_VERSION NTDDI_WIN2K -#define _WIN32_WINNT _WIN32_WINNT_WIN2K +#define NTDDI_VERSION NTDDI_WINXPSP3 +#define _WIN32_WINNT _WIN32_WINNT_WINXP #endif #define strncasecmp strnicmp