summaryrefslogtreecommitdiffstats
path: root/Source/cmExportCommand.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/cmExportCommand.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/cmExportCommand.cxx')
-rw-r--r--Source/cmExportCommand.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx
index 8102276..09c01e9 100644
--- a/Source/cmExportCommand.cxx
+++ b/Source/cmExportCommand.cxx
@@ -279,7 +279,6 @@ bool cmExportCommand::HandlePackage(std::vector<std::string> const& args)
#if defined(_WIN32) && !defined(__CYGWIN__)
#include <windows.h>
-#undef GetCurrentDirectory
void cmExportCommand::ReportRegistryError(std::string const& msg,
std::string const& key, long err)
{