diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-08-16 20:50:27 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-08-16 20:50:27 (GMT) |
commit | 950c1359faf4fc37e2909c97b1339f6f2bc728f8 (patch) | |
tree | 8b5283eff855aac4542a20d7314ef0238b4147fc /Source/cmGlobalGenerator.cxx | |
parent | 12f638356127697f441f57af8411f34e23bdaa6d (diff) | |
download | CMake-950c1359faf4fc37e2909c97b1339f6f2bc728f8.zip CMake-950c1359faf4fc37e2909c97b1339f6f2bc728f8.tar.gz CMake-950c1359faf4fc37e2909c97b1339f6f2bc728f8.tar.bz2 |
COMP: quick windows name mangling fix (otherwise the compiler complains about cmMakefile::GetCurrentDirectoryA(), which doesn't exist)
Alex
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 07a5b82..e39fd71 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -27,6 +27,8 @@ #if defined(_WIN32) && !defined(__CYGWIN__) #include <windows.h> +// workaround against Windows name mangling: +#undef GetCurrentDirectory #endif #include <assert.h> |