--- a/libgcc/gthr-posix.h (revision 186092) +++ b/libgcc/gthr-posix.h (working copy) @@ -88,7 +88,7 @@ # define __GTHREAD_COND_INIT_FUNCTION __gthread_cond_init_function #endif -#if SUPPORTS_WEAK && GTHREAD_USE_WEAK +#if SUPPORTS_WEAK && GTHREAD_USE_WEAK && !defined(__MINGW32__) # ifndef __gthrw_pragma # define __gthrw_pragma(pragma) # endif