try fix old mingw
This commit is contained in:
@@ -15,6 +15,8 @@
|
|||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
#else
|
#else
|
||||||
// clang-format off
|
// clang-format off
|
||||||
|
# undef _WIN32_WINNT
|
||||||
|
# define _WIN32_WINNT 0x0600
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
# include <setupapi.h>
|
# include <setupapi.h>
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|||||||
Reference in New Issue
Block a user