Created
February 17, 2022 14:25
-
-
Save hardening/54632b0217243008775ea33e378061a5 to your computer and use it in GitHub Desktop.
mingw builf fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/winpr/libwinpr/pool/pool.h b/winpr/libwinpr/pool/pool.h | |
index fbf48a823..9ecbb5453 100644 | |
--- a/winpr/libwinpr/pool/pool.h | |
+++ b/winpr/libwinpr/pool/pool.h | |
@@ -27,7 +27,7 @@ | |
#include <winpr/collections.h> | |
#if defined(_WIN32) | |
-#if (_WIN32_WINNT < _WIN32_WINNT_WIN6) | |
+#if (_WIN32_WINNT < _WIN32_WINNT_WIN6) || defined(__MINGW32__) | |
struct _TP_CALLBACK_INSTANCE | |
{ | |
PTP_WORK Work; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment