summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2016-05-01 08:33:06 +0300
committerOrgad Shaneh <orgads@gmail.com>2016-05-01 10:55:07 +0000
commit7c6a63b10b3605c59268c145787a273c959a5241 (patch)
tree5c3791f283fbe83a3e13cb9e54b72da37833b2b8 /src
parent6b2d2160a74c09c9c0b5ceaa1b0681faca31f198 (diff)
downloadqt-creator-7c6a63b10b3605c59268c145787a273c959a5241.tar.gz
Utils: Undef _WIN32_WINNT before defining it
Some compilers have it predefined. Change-Id: I42087dde8e18ccd0e8954d6a51c703235480c91d Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/libs/utils/process_stub_win.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/utils/process_stub_win.c b/src/libs/utils/process_stub_win.c
index 5e634ad9c4..ba731e7406 100644
--- a/src/libs/utils/process_stub_win.c
+++ b/src/libs/utils/process_stub_win.c
@@ -23,6 +23,7 @@
**
****************************************************************************/
+#undef _WIN32_WINNT
#define _WIN32_WINNT 0x0501 /* WinXP, needed for DebugActiveProcessStop() */
#include <windows.h>