[cmake-commits] alex committed cmGlobalGenerator.cxx 1.201 1.202

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Aug 16 16:50:29 EDT 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv17108

Modified Files:
	cmGlobalGenerator.cxx 
Log Message:
COMP: quick windows name mangling fix (otherwise the compiler complains about cmMakefile::GetCurrentDirectoryA(), which doesn't exist)

Alex


Index: cmGlobalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v
retrieving revision 1.201
retrieving revision 1.202
diff -u -d -r1.201 -r1.202
--- cmGlobalGenerator.cxx	16 Aug 2007 19:33:17 -0000	1.201
+++ cmGlobalGenerator.cxx	16 Aug 2007 20:50:27 -0000	1.202
@@ -27,6 +27,8 @@
 
 #if defined(_WIN32) && !defined(__CYGWIN__)
 #include <windows.h>
+// workaround against Windows name mangling:
+#undef GetCurrentDirectory
 #endif
 
 #include <assert.h>



More information about the Cmake-commits mailing list