Mercurial > projects > ddmd
diff dmd/Library.d @ 183:190ba98276b3
Several changes to make it build on posix systems.
I've only tried to build on Mac OS X but it should build on Linux now as well.
This should also fix ticket #9.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 25 Oct 2010 15:36:13 +0200 |
parents | e3afd1303184 |
children | eb38fdcb3e62 |
line wrap: on
line diff
--- a/dmd/Library.d Mon Oct 18 00:36:44 2010 +0400 +++ b/dmd/Library.d Mon Oct 25 15:36:13 2010 +0200 @@ -1009,3 +1009,26 @@ } } + +else version (TARGET_OSX) +{ + import dmd.TObject; + + class Library : TObject + { + void setFilename(string dir, string filename) + { + assert(0); + } + + void addObject(string module_name, void *buf, size_t buflen) + { + assert(0); + } + + void write() + { + assert(0); + } + } +} \ No newline at end of file