summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-03-06 16:52:56 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-03-14 21:40:11 (GMT)
commit4b49c9a245db870ab2359495083a6839be3ed9df (patch)
tree3d0dc5ae9ad2b46d6658b207bfef50ce28774e34 /Source/cmGlobalVisualStudioGenerator.cxx
parent4d3f120c5fec71b12e8d1cab1e509e2545012475 (diff)
downloadCMake-4b49c9a245db870ab2359495083a6839be3ed9df.zip
CMake-4b49c9a245db870ab2359495083a6839be3ed9df.tar.gz
CMake-4b49c9a245db870ab2359495083a6839be3ed9df.tar.bz2
fix include order of windows.h
Comments that indicate a special include order is necessary because GetCurrentDirectory might get redefined are outdated. Remove those outdated comments and use the normal ordering of includes.
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmGlobalVisualStudioGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx
index a073426..81d9765 100644
--- a/Source/cmGlobalVisualStudioGenerator.cxx
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -5,6 +5,7 @@
#include <cmsys/Encoding.hxx>
#include <iostream>
+#include <windows.h>
#include "cmAlgorithms.h"
#include "cmCallVisualStudioMacro.h"
@@ -441,8 +442,6 @@ std::string cmGlobalVisualStudioGenerator::GetStartupProjectName(
return this->GetAllTargetName();
}
-#include <windows.h>
-
bool IsVisualStudioMacrosFileRegistered(const std::string& macrosFile,
const std::string& regKeyBase,
std::string& nextAvailableSubKeyName)