On Wed, May 7, 2014 at 12:06 PM, Kai Tietz <ktiet...@googlemail.com> wrote: > > this patch adds for Windows targets the define > _GTHREAD_USE_MUTEX_INIT_FUNC, which is necessary as pthread-emulation > for those targets are just handling pthread_mutext_init, > othread_mutex_destroy proper. > > ChangeLog libgcc > > 2014-05-07 Kai Tietz <kti...@redhat.com> > > PR c++/57440 > * gthr-posix.h (_GTHREAD_USE_MUTEX_INIT_FUNC): Define for native > windows > targets. > > Patch passed already regression-test for x86_64-unknown-linux-gnu. > Test for i686-w64-mingw32 is still running (with posix-threading > model). Ok to apply this patch after last test passes?
As Jonathan said in comment #12 of http://gcc.gnu.org/PR57440 , the right place for this #define is libstdc++-v3/config/os/mingw32*/os_defines.h. Ian