diff options
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2007-05-26 19:31:39 (GMT) |
---|---|---|
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2007-05-26 19:31:39 (GMT) |
commit | 629ec26f637844f912d8f5aa6e21bae5d59f559f (patch) | |
tree | 8debb7c1a201e6018c948acd7fd177a992c24634 /Python/dynload_win.c | |
parent | ba526438f8ce4bde87f7b38f966688a5193a7c5e (diff) | |
download | cpython-629ec26f637844f912d8f5aa6e21bae5d59f559f.zip cpython-629ec26f637844f912d8f5aa6e21bae5d59f559f.tar.gz cpython-629ec26f637844f912d8f5aa6e21bae5d59f559f.tar.bz2 |
Include <windows.h> after python.h, so that WINNT is properly set before windows.h is included. Fixes warnings in PC builds.
Diffstat (limited to 'Python/dynload_win.c')
-rw-r--r-- | Python/dynload_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_win.c b/Python/dynload_win.c index 1c3b3ab..fc641b9 100644 --- a/Python/dynload_win.c +++ b/Python/dynload_win.c @@ -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 |