Mercurial > projects > ddmd
diff dmd/TypeInfoDeclaration.d @ 22:fd4acc376c45
Implemented object file output and linking on linux.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Thu, 08 Apr 2010 04:21:03 +0100 |
parents | 10317f0c89a5 |
children | 2e2a5c3f943a |
line wrap: on
line diff
--- a/dmd/TypeInfoDeclaration.d Wed Apr 07 00:51:29 2010 +0100 +++ b/dmd/TypeInfoDeclaration.d Thu Apr 08 04:21:03 2010 +0100 @@ -3,6 +3,7 @@ import dmd.VarDeclaration; import dmd.Type; import dmd.Dsymbol; +import dmd.Module; import dmd.Scope; import dmd.Loc; import dmd.STC; @@ -96,7 +97,7 @@ s.Sdt.dt = DT.DT_common; } -version (XXX) { ///ELFOBJ || MACHOBJ // Burton +version (ELFOBJ_OR_MACHOBJ) { ///ELFOBJ || MACHOBJ // Burton if (s.Sdt && s.Sdt.dt == DT_azeros && s.Sdt.DTnext == null) s.Sseg = Segment.UDATA; else @@ -111,4 +112,4 @@ { assert(false); } -} \ No newline at end of file +}