Skip to content

Commit 64e7657

Browse files
authored
Add Support for Down to Windows Vista in the CLI by default
1 parent 26ac24a commit 64e7657

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/cli.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@
4141
#define WIN32_LEAN_AND_MEAN
4242
#define NOMINMAX
4343
#include <windows.h>
44+
#ifdef _WIN32_WINNT
45+
#undef _WIN32_WINNT
46+
#endif
47+
#ifdef WINVER
48+
#undef WINVER
49+
#endif
50+
#define _WIN32_WINNT 0x0600
51+
#define WINVER _WIN32_WINNT
4452
#else
4553
#define CLI_WINDOWS 0
4654
#endif
@@ -1275,4 +1283,4 @@ int main(int argc, char* argv[]) {
12751283
// at this point, it's assumed that the user's intention is for the general summary to be ran
12761284
general(high_threshold, all, dynamic);
12771285
return 0;
1278-
}
1286+
}

0 commit comments

Comments
 (0)