Pastebin

New pastes are no longer accepted · Stats

Latest Pastes

gthr.diff

--- gthr.h	Sun Apr 01 02:50:10 2012
+++ gthr.h	Thu Aug 23 14:42:40 2012
@@ -138,16 +138,16 @@
 /* The pe-coff weak support isn't fully compatible to ELF's weak.
    For static libraries it might would work, but as we need to deal
    with shared versions too, we disable it for mingw-targets.  */
-#ifdef _GLIBCXX___MINGW32_GLIBCXX___
 #undef _GLIBCXX_GTHREAD_USE_WEAK
 #define _GLIBCXX_GTHREAD_USE_WEAK 0
-#endif
 
-#ifndef _GLIBCXX_GTHREAD_USE_WEAK
-#define _GLIBCXX_GTHREAD_USE_WEAK 1
-#endif
 #endif
-#include <bits/gthr-default.h>
+
+#ifndef _GLIBCXX_HAS_GTHREADS
+#define _GLIBCXX_HAS_GTHREADS
+#endif // _GLIBCXX_HAS_GTHREADS
+
+#include <bits/gthr-posix.h>
 
 #ifndef _GLIBCXX_HIDE_EXPORTS
 #pragma GCC visibility pop