diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-03-06 17:52:56 +0100 |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-03-14 22:40:11 +0100 |
commit | 4b49c9a245db870ab2359495083a6839be3ed9df (patch) | |
tree | 3d0dc5ae9ad2b46d6658b207bfef50ce28774e34 /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | 4d3f120c5fec71b12e8d1cab1e509e2545012475 (diff) | |
download | cmake-4b49c9a245db870ab2359495083a6839be3ed9df.tar.gz |
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/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 65a0bde444..e7fb2031b9 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -1,7 +1,5 @@ /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ -#include "windows.h" // this must be first to define GetCurrentDirectory - #include "cmGlobalVisualStudio7Generator.h" #include "cmGeneratedFileStream.h" @@ -14,6 +12,7 @@ #include <cmsys/Encoding.hxx> #include <assert.h> +#include <windows.h> static cmVS7FlagTable cmVS7ExtraFlagTable[] = { // Precompiled header and related options. Note that the |