]> Savannah Git Hosting - gnulib.git/commit
Fix check for pthreads.h pollution on Mingw64
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 15 Dec 2014 17:44:22 +0000 (17:44 +0000)
committerEric Blake <eblake@redhat.com>
Mon, 5 Jan 2015 23:31:52 +0000 (16:31 -0700)
commit71fe7f2d3d9125170d7ba33412a7af6b25283a6a
treee550920d0524a2ba4dc5b8dde7fecd877578f032
parent498a1b6bc7d70f944ca0f939e1bc470889fdce76
Fix check for pthreads.h pollution on Mingw64

A previous commit attempted to workaround pollution in the
Mingw64 pthreads.h header file

  commit d5fec6c22f03c6a73d62260c9ce091c10c0a9cbd
  Author: Eric Blake <eblake@redhat.com>
  Date:   Wed Jan 22 20:39:45 2014 -0700

    pthread: work around winpthread header pollution on mingw

It activated its workaround based on existance of the strtok_r
wrapper in pthreads.h. As luck would have it, latest Mingw64
headers removed the strtok_r wrapper from pthreads.h, but left
all the others. So the gnulib workaround was not activated.

Change the configure check to look for several of the broken
wrappers, instead of just strtok_r

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
m4/pthread.m4