MSYS2-packages/libtirpc/1.3.6-cygwin-pthread.patch
Christoph Reiter c53aee4bf4
libtirpc: Update to 1.3.6 (#5402)
sync patches with cygwin
2025-05-20 08:09:32 +02:00

12 lines
370 B
Diff

--- origsrc/libtirpc-1.3.6/tirpc/reentrant.h 2024-10-17 09:50:55.000000000 +0200
+++ tirpc/reentrant.h 2025-01-04 07:56:20.282001700 +0100
@@ -36,7 +36,7 @@
* These definitions are only guaranteed to be valid on Linux.
*/
-#if defined(__linux__) || defined(__APPLE__)
+#if defined(__linux__) || defined(__APPLE__) || defined(__CYGWIN__)
#include <pthread.h>