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