Fix --lint-only with MinGW, msg1283.

This commit is contained in:
Wilson Snyder
2013-11-29 08:28:48 -05:00
parent 0e1fcd38bb
commit e69bf418de
5 changed files with 18 additions and 4 deletions
+1 -1
View File
@@ -706,7 +706,7 @@ class EmitCImp : EmitCStmts {
if (v3Global.opt.lintOnly()) {
// Unfortunately we have some lint checks here, so we can't just skip processing.
// We should move them to a different stage.
string filename = "/dev/null";
string filename = VL_DEV_NULL;
newCFile(filename, slow, source);
ofp = new V3OutSpFile (filename);
}