comparison dmd/module.c @ 1257:7af860e4f403

Changes for mingw to compile properly
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Wed, 22 Apr 2009 14:49:49 -0600
parents e961851fb8be
children 68dea5bae9e9
comparison
equal deleted inserted replaced
1256:6af2359b433a 1257:7af860e4f403
194 // else 194 // else
195 // allow for .o and .obj on windows 195 // allow for .o and .obj on windows
196 #if _WIN32 196 #if _WIN32
197 if (ext == global.params.objdir && FileName::ext(argobj) 197 if (ext == global.params.objdir && FileName::ext(argobj)
198 && stricmp(FileName::ext(argobj), global.obj_ext_alt) == 0) 198 && stricmp(FileName::ext(argobj), global.obj_ext_alt) == 0)
199 return new File(argobj); 199 return new File((char*)argobj);
200 #endif 200 #endif
201 return new File(FileName::forceExt(argobj, ext)); 201 return new File(FileName::forceExt(argobj, ext));
202 } 202 }
203 203
204 void Module::buildTargetFiles() 204 void Module::buildTargetFiles()