summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmLocalVisualStudioGenerator.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmLocalVisualStudioGenerator.cxx b/Source/cmLocalVisualStudioGenerator.cxx
index a12a4db..66be038 100644
--- a/Source/cmLocalVisualStudioGenerator.cxx
+++ b/Source/cmLocalVisualStudioGenerator.cxx
@@ -144,13 +144,6 @@ cmLocalVisualStudioGenerator
script += newline;
newline = newline_text;
script += "cd ";
- OSVERSIONINFO osv;
- osv.dwOSVersionInfoSize = sizeof(osv);
- GetVersionEx(&osv);
- if(osv.dwPlatformId != VER_PLATFORM_WIN32_WINDOWS)
- {
- script += "/d ";
- }
script += this->Convert(workingDirectory, START_OUTPUT, SHELL);
// Change the working drive.