From cce33ed10fdceda7e634ed8b01cf616d34505924 Mon Sep 17 00:00:00 2001 From: Derek Buitenhuis Date: Wed, 22 Nov 2017 15:28:40 +0000 Subject: [PATCH] Revert "udp: fix compilation when HAVE_PTHREAD_CANCEL isnt defined" This was an mplayer-specific hack. This reverts commit a4f94f24b4f153c30bbcaa700bedfb2b3a581e5e. Signed-off-by: Derek Buitenhuis --- libavformat/udp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index 3835f989c4..0dde0353fb 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -64,10 +64,6 @@ #include #endif -#ifndef HAVE_PTHREAD_CANCEL -#define HAVE_PTHREAD_CANCEL 0 -#endif - #ifndef IPV6_ADD_MEMBERSHIP #define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP #define IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP