Include <windows.h> after python.h, so that WINNT is properly set before windows.h is included. Fixes warnings in PC builds.

This commit is contained in:
Kristján Valur Jónsson 2007-05-26 19:31:39 +00:00
parent ba526438f8
commit 629ec26f63
5 changed files with 6 additions and 8 deletions

View file

@ -1,7 +1,6 @@
/* Support for dynamic loading of extension modules */
#include <windows.h>
#ifdef HAVE_DIRECT_H
#include <direct.h>
#endif
@ -9,6 +8,7 @@
#include "Python.h"
#include "importdl.h"
#include <windows.h>
const struct filedescr _PyImport_DynLoadFiletab[] = {
#ifdef _DEBUG