Revert "udp: fix compilation when HAVE_PTHREAD_CANCEL isnt defined"
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Wed, 22 Nov 2017 15:28:40 +0000 (15:28 +0000)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Thu, 23 Nov 2017 14:20:32 +0000 (14:20 +0000)
This was an mplayer-specific hack.

This reverts commit a4f94f24b4f153c30bbcaa700bedfb2b3a581e5e.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavformat/udp.c

index 3835f98..0dde035 100644 (file)
 #include <pthread.h>
 #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