Mercurial > projects > ldc
diff tango/lib/gc/basic/gcx.d @ 306:0baca2feb554 trunk
[svn r327] Fixed some more MinGW32 issues. It's now very close to working.
Fixed problems with inline asm like: mov EAX, FS:4 , which incidentally is used in the runtime to get the stack bottom, on Windows.
author | lindquist |
---|---|
date | Fri, 27 Jun 2008 23:58:22 +0200 |
parents | 23d0d9855cad |
children |
line wrap: on
line diff
--- a/tango/lib/gc/basic/gcx.d Fri Jun 27 22:04:35 2008 +0200 +++ b/tango/lib/gc/basic/gcx.d Fri Jun 27 23:58:22 2008 +0200 @@ -54,7 +54,10 @@ private import cstring = tango.stdc.string : memcpy, memmove, memset; private import tango.stdc.stdio; -private import tango.stdc.posix.pthread; +version(Posix) +{ + private import tango.stdc.posix.pthread; +} version (GNU) {