It's a simple #include of MinGW's <pthread.h> which #defines _POSIX_THREAD_SAFE_FUNCTIONS. In the older log.c code, we tested that definition before including <pthread.h>, which is why it wasn't a problem.
In any event, since the flockfile() and funlockfile() functions don't seem to exist on MinGW, the test has been changed to reflect this reality. -- Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God. Phone: 1-613-726-0014 | Ottawa, Ontario | http://Mielke.cc/bible/ EMail: [email protected] | Canada K2A 1H7 | http://FamilyRadio.com/ _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://mielke.cc/mailman/listinfo/brltty
