MSYS2-packages/libtirpc/0.2.4-cygwin-pthread.patch
2014-11-07 08:55:52 +03:00

12 lines
345 B
Diff

--- origsrc/libtirpc-0.2.4/tirpc/reentrant.h 2014-06-09 17:08:42.522558900 -0500
+++ src/libtirpc-0.2.4/tirpc/reentrant.h 2014-06-09 17:08:43.133636500 -0500
@@ -36,7 +36,7 @@
* These definitions are only guaranteed to be valid on Linux.
*/
-#if defined(__linux__)
+#if defined(__linux__) || defined(__CYGWIN__)
#include <pthread.h>