termux-packages/packages/transmission/miniwget_min.patch
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

13 lines
518 B
Diff

diff -u -r ../transmission-2.82/third-party/miniupnp/miniwget.c ./third-party/miniupnp/miniwget.c
--- ../transmission-2.82/third-party/miniupnp/miniwget.c 2013-08-09 04:47:50.000000000 +0200
+++ ./third-party/miniupnp/miniwget.c 2014-02-10 17:08:34.000000000 +0100
@@ -42,7 +42,7 @@
* during the connect() call */
#define MINIUPNPC_IGNORE_EINTR
#endif /* #else _WIN32 */
-#if defined(__sun) || defined(sun)
+#if defined(__sun) || defined(sun) || defined __ANDROID__
#define MIN(x,y) (((x)<(y))?(x):(y))
#endif