COMP: include windows.h first, as it is done in the other source files

Alex
This commit is contained in:
Alexander Neundorf 2007-08-17 10:14:32 -04:00
parent 767f24aeda
commit e8ced6a0e2
1 changed files with 4 additions and 6 deletions

View File

@ -14,6 +14,10 @@
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#if defined(_WIN32) && !defined(__CYGWIN__)
#include "windows.h" // this must be first to define GetCurrentDirectory
#endif
#include "cmGlobalGenerator.h"
#include "cmLocalGenerator.h"
#include "cmExternalMakefileProjectGenerator.h"
@ -25,12 +29,6 @@
#include <stdlib.h> // required for atof
#if defined(_WIN32) && !defined(__CYGWIN__)
#include <windows.h>
// workaround against Windows name mangling:
#undef GetCurrentDirectory
#endif
#include <assert.h>
cmGlobalGenerator::cmGlobalGenerator()