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

Alex
This commit is contained in:
Alexander Neundorf 2007-08-16 16:50:27 -04:00
parent 12f6383561
commit 950c1359fa
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,8 @@
#if defined(_WIN32) && !defined(__CYGWIN__) #if defined(_WIN32) && !defined(__CYGWIN__)
#include <windows.h> #include <windows.h>
// workaround against Windows name mangling:
#undef GetCurrentDirectory
#endif #endif
#include <assert.h> #include <assert.h>