Skip to content

Commit 6f67af4

Browse files
committed
Add Support for Down to Windows 7 in the CLI by default
Signed-off-by: Christopher Lentocha <christopherericlentocha@gmail.com>
1 parent 26ac24a commit 6f67af4

File tree

5 files changed

+14
-1
lines changed

5 files changed

+14
-1
lines changed

README_CN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ endif()
297297
- [luukjp](https://github.com/luukjp)
298298
- [Randark](https://github.com/Randark-JMT)
299299
- [Scrut1ny](https://github.com/Scrut1ny)
300+
- [Christopher Lentocha](https://github.com/CE1CECL)
300301

301302
<br>
302303

README_FR.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ Et si ce projet vous a été utile, un star serait très apprécié :)
292292
- [luukjp](https://github.com/luukjp)
293293
- [Randark](https://github.com/Randark-JMT)
294294
- [Scrut1ny](https://github.com/Scrut1ny)
295+
- [Christopher Lentocha](https://github.com/CE1CECL)
295296

296297
<br>
297298

README_KR.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,8 @@ endif()
299299
- [Kyun-J](https://github.com/Kyun-J)
300300
- [luukjp](https://github.com/luukjp)
301301
- [Randark](https://github.com/Randark-JMT)
302+
- [Scrut1ny](https://github.com/Scrut1ny)
303+
- [Christopher Lentocha](https://github.com/CE1CECL)
302304

303305
<br>
304306

src/cli.cpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@
4040
#define CLI_WINDOWS 1
4141
#define WIN32_LEAN_AND_MEAN
4242
#define NOMINMAX
43+
#ifdef _WIN32_WINNT
44+
#undef _WIN32_WINNT
45+
#endif
46+
#ifdef WINVER
47+
#undef WINVER
48+
#endif
49+
#define _WIN32_WINNT 0x0601
50+
#define WINVER _WIN32_WINNT
4351
#include <windows.h>
4452
#else
4553
#define CLI_WINDOWS 0
@@ -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+
}

src/vmaware.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* - Kyun-J (https://github.com/Kyun-J)
2525
* - luukjp (https://github.com/luukjp)
2626
* - Lorenzo Rizzotti (https://github.com/Dreaming-Codes)
27+
* - Christopher Lentocha (https://github.com/CE1CECL)
2728
* - Repository: https://github.com/kernelwernel/VMAware
2829
* - Docs: https://github.com/kernelwernel/VMAware/docs/documentation.md
2930
* - Full credits: https://github.com/kernelwernel/VMAware#credits-and-contributors-%EF%B8%8F

0 commit comments

Comments
 (0)