valac: Update from 0.40.3 to 0.40.4
[termux-packages] / packages / transmission / miniwget_min.patch
1 diff -u -r ../transmission-2.82/third-party/miniupnp/miniwget.c ./third-party/miniupnp/miniwget.c
2 --- ../transmission-2.82/third-party/miniupnp/miniwget.c 2013-08-09 04:47:50.000000000 +0200
3 +++ ./third-party/miniupnp/miniwget.c 2014-02-10 17:08:34.000000000 +0100
4 @@ -42,7 +42,7 @@
5 * during the connect() call */
6 #define MINIUPNPC_IGNORE_EINTR
7 #endif /* #else _WIN32 */
8 -#if defined(__sun) || defined(sun)
9 +#if defined(__sun) || defined(sun) || defined __ANDROID__
10 #define MIN(x,y) (((x)<(y))?(x):(y))
11 #endif
12