Mercurial > projects > ddmd
diff dmd/backend/TYPE.d @ 14:2cc604139636
Implemented Linux support for ddmd. Some parts are a bit hacky to just "get it working", that said, druntime and phobos compile, and unittests pass.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Sun, 04 Apr 2010 02:06:32 +0100 |
parents | 10317f0c89a5 |
children | 5c9b78899f5d |
line wrap: on
line diff
--- a/dmd/backend/TYPE.d Wed Mar 31 16:29:36 2010 +0400 +++ b/dmd/backend/TYPE.d Sun Apr 04 02:06:32 2010 +0100 @@ -97,8 +97,8 @@ alias type* typep_t; -extern(C++) extern __gshared typep_t tstypes[TYM.TYMAX]; -extern(C++) extern __gshared typep_t tsptr2types[TYM.TYMAX]; +extern(C++) /+extern+/ __gshared typep_t tstypes[TYM.TYMAX]; +extern(C++) /+extern+/ __gshared typep_t tsptr2types[TYM.TYMAX]; ref type* tsbool () { return tstypes[TYM.TYbool]; } ref type* tschar () { return tstypes[TYM.TYchar]; } @@ -124,4 +124,4 @@ ref type* tsildouble () { return tstypes[TYM.TYildouble]; } ref type* tscfloat () { return tstypes[TYM.TYcfloat]; } ref type* tscdouble () { return tstypes[TYM.TYcdouble]; } -ref type* tscldouble () { return tstypes[TYM.TYcldouble]; } \ No newline at end of file +ref type* tscldouble () { return tstypes[TYM.TYcldouble]; }