File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ class GDB(spec("common")):
96
96
97
97
if self.env.host.os.name == "windows":
98
98
configure.add("CFLAGS=-std=gnu17") # fix for new defaults in gcc 15.1.0
99
+ configure.add("CXXFLAGS=-D_WIN32_WINNT=0x0600") # set min windows version
99
100
configure.add("--disable-tui")
100
101
configure.add(
101
102
"--with-libiconv-prefix=%s"
Original file line number Diff line number Diff line change @@ -83,8 +83,7 @@ index 72c1c5144f3..ccf440baf0c 100644
83
83
- # define _WIN32_WINNT 0x0501
84
84
+ # define _WIN32_WINNT 0x0600
85
85
# endif
86
- #endif /* __MINGW32__ || __CYGWIN__ */
87
-
86
+ #endif /* __MINGW32__ || __CYGWIN__ */
88
87
diff --git a/gdbsupport/common.m4 b/gdbsupport/common.m4
89
88
index 3909ec81ccb..118dba78815 100644
90
89
--- gdbsupport/common.m4
@@ -103,7 +102,7 @@ index 3909ec81ccb..118dba78815 100644
103
102
- # define _WIN32_WINNT 0x0501
104
103
+ # define _WIN32_WINNT 0x0600
105
104
# endif
106
- #endif /* __MINGW32__ || __CYGWIN__ */
105
+ #endif /* __MINGW32__ || __CYGWIN__ */
107
106
#include <thread>
108
107
109
108
You can’t perform that action at this time.
0 commit comments