From 950c1359faf4fc37e2909c97b1339f6f2bc728f8 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Thu, 16 Aug 2007 16:50:27 -0400 Subject: [PATCH] COMP: quick windows name mangling fix (otherwise the compiler complains about cmMakefile::GetCurrentDirectoryA(), which doesn't exist) Alex --- Source/cmGlobalGenerator.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 07a5b820b..e39fd71c5 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -27,6 +27,8 @@ #if defined(_WIN32) && !defined(__CYGWIN__) #include +// workaround against Windows name mangling: +#undef GetCurrentDirectory #endif #include