Browse Source

COMP: quick windows name mangling fix (otherwise the compiler complains about cmMakefile::GetCurrentDirectoryA(), which doesn't exist)

Alex
Alexander Neundorf 18 years ago
parent
commit
950c1359fa
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Source/cmGlobalGenerator.cxx

+ 2 - 0
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>