MSYS2-packages/libtirpc/1000-disable-linux-only.patch
Christoph Reiter 54b2c03e5f libtirpc: build fixes
disable some things half provided by cygwin
build for cygwin
2022-12-29 09:51:41 +01:00

14 lines
334 B
Diff

--- libtirpc-1.3.2/src/clnt_dg.c.orig 2021-05-10 19:59:15.000000000 +0200
+++ libtirpc-1.3.2/src/clnt_dg.c 2022-12-29 09:32:39.778869700 +0100
@@ -55,6 +55,10 @@
#include "rpc_com.h"
#include "clnt_fd_locks.h"
+#ifdef __CYGWIN__
+#undef IP_RECVERR
+#endif
+
#ifdef IP_RECVERR
#include <asm/types.h>
#include <linux/errqueue.h>