comparison 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
comparison
equal deleted inserted replaced
181:aa70dca07cb0 183:190ba98276b3
1007 assert(0); 1007 assert(0);
1008 } 1008 }
1009 1009
1010 } 1010 }
1011 } 1011 }
1012
1013 else version (TARGET_OSX)
1014 {
1015 import dmd.TObject;
1016
1017 class Library : TObject
1018 {
1019 void setFilename(string dir, string filename)
1020 {
1021 assert(0);
1022 }
1023
1024 void addObject(string module_name, void *buf, size_t buflen)
1025 {
1026 assert(0);
1027 }
1028
1029 void write()
1030 {
1031 assert(0);
1032 }
1033 }
1034 }