udp: check for HAVE_PTHREAD_CANCEL instead of HAVE_PTHREADS.
authorNicolas George <nicolas.george@normalesup.org>
Tue, 8 May 2012 17:36:06 +0000 (19:36 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Mon, 14 May 2012 17:32:43 +0000 (19:32 +0200)
commit281bde27894f994d0982ab9283f15d6073ae352c
tree116e7e4ae183d1c87c95ca0919e56f00a910de01
parent83f954e85939527ed86e6343bfe1b8453d838abe
udp: check for HAVE_PTHREAD_CANCEL instead of HAVE_PTHREADS.

Some environments, for example Android, pretend to have pthreads
but actually have only a partial implementation.
libavformat/udp.c