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

15 lines
351 B
Diff

--- origsrc/libtirpc-0.2.4/tirpc/rpc/types.h 2013-12-09 14:59:51.000000000 -0600
+++ src/libtirpc-0.2.4/tirpc/rpc/types.h 2014-06-09 17:08:43.136136800 -0500
@@ -40,6 +40,11 @@
#include <sys/types.h>
+#ifdef __CYGWIN__
+typedef long long quad_t;
+typedef unsigned long long u_quad_t;
+#endif
+
typedef int32_t bool_t;
typedef int32_t enum_t;