Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
305:2b72433d5c8c | 306:0baca2feb554 |
---|---|
52 | 52 |
53 private import cstdlib = tango.stdc.stdlib : calloc, free, malloc, realloc; | 53 private import cstdlib = tango.stdc.stdlib : calloc, free, malloc, realloc; |
54 private import cstring = tango.stdc.string : memcpy, memmove, memset; | 54 private import cstring = tango.stdc.string : memcpy, memmove, memset; |
55 | 55 |
56 private import tango.stdc.stdio; | 56 private import tango.stdc.stdio; |
57 private import tango.stdc.posix.pthread; | 57 version(Posix) |
58 { | |
59 private import tango.stdc.posix.pthread; | |
60 } | |
58 | 61 |
59 version (GNU) | 62 version (GNU) |
60 { | 63 { |
61 // BUG: The following import will likely not work, since the gcc | 64 // BUG: The following import will likely not work, since the gcc |
62 // subdirectory is elsewhere. Instead, perhaps the functions | 65 // subdirectory is elsewhere. Instead, perhaps the functions |