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

12 lines
377 B
Diff

--- origsrc/libtirpc-0.2.4/src/bindresvport.c 2013-12-09 14:59:51.000000000 -0600
+++ src/libtirpc-0.2.4/src/bindresvport.c 2014-06-09 17:08:43.121134900 -0500
@@ -61,7 +61,7 @@ bindresvport(sd, sin)
return bindresvport_sa(sd, (struct sockaddr *)sin);
}
-#ifdef __linux__
+#if defined(__linux__) || defined(__CYGWIN__)
#define STARTPORT 600
#define LOWPORT 512