From 4e2e7e0eaed3fddd7ead44e38dcf68d31341e05a Mon Sep 17 00:00:00 2001 From: David Fort Date: Mon, 13 Nov 2023 18:03:05 +0100 Subject: [PATCH] [build] fix mingw build on Ubuntu 22.04 Seems like the version check was not ok and build was failing on Ubuntu 22.04. --- winpr/include/winpr/pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winpr/include/winpr/pool.h b/winpr/include/winpr/pool.h index 22142c9da..3160ae323 100644 --- a/winpr/include/winpr/pool.h +++ b/winpr/include/winpr/pool.h @@ -110,7 +110,7 @@ typedef VOID (*PTP_WIN32_IO_CALLBACK)(PTP_CALLBACK_INSTANCE Instance, PVOID Cont #define WINPR_THREAD_POOL 1 #elif defined(_WIN32) && (_WIN32_WINNT < 0x0600) #define WINPR_THREAD_POOL 1 -#elif defined(__MINGW32__) && (__MINGW64_VERSION_MAJOR < 9) +#elif defined(__MINGW32__) && (__MINGW64_VERSION_MAJOR < 8) #define WINPR_THREAD_POOL 1 #endif