[runtime] Use pthread tls on mingw32, recent versions support __thread, but its emulated.
authorZoltan Varga <vargaz@gmail.com>
Sun, 13 Jul 2014 20:30:40 +0000 (22:30 +0200)
committerZoltan Varga <vargaz@gmail.com>
Sun, 13 Jul 2014 20:30:40 +0000 (22:30 +0200)
configure.ac

index 0e6ac8717ed4eaef478b5a16a48581dec6516424..ea2b250541ec2a2b7cd09a5480d0d17c2868e4ac 100644 (file)
@@ -129,6 +129,7 @@ case "$host" in
                libgc_threads=win32
                gc_default=included
                with_sigaltstack=no
+               with_tls=pthread
                LN_S=cp
                # This forces libgc to use the DllMain based thread registration code on win32
                libgc_configure_args="$libgc_configure_args --enable-win32-dllmain=yes"