Commit 6f65bbca authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: remove seg fault I hope

parent ba89db4b
...@@ -427,7 +427,7 @@ void cmLocalVisualStudio6Generator ...@@ -427,7 +427,7 @@ void cmLocalVisualStudio6Generator
// force a C++ file type // force a C++ file type
compileFlags += " /TP "; compileFlags += " /TP ";
} }
else if(strcmp(lang, "C") == 0) else if(lang && strcmp(lang, "C") == 0)
{ {
// force to c file type // force to c file type
compileFlags += " /TC "; compileFlags += " /TC ";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment