commit | 629ec26f637844f912d8f5aa6e21bae5d59f559f | [log] [tgz] |
---|---|---|
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | Sat May 26 19:31:39 2007 +0000 |
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | Sat May 26 19:31:39 2007 +0000 |
tree | 8debb7c1a201e6018c948acd7fd177a992c24634 | |
parent | ba526438f8ce4bde87f7b38f966688a5193a7c5e [diff] [blame] |
Include <windows.h> after python.h, so that WINNT is properly set before windows.h is included. Fixes warnings in PC builds.
diff --git a/PC/dl_nt.c b/PC/dl_nt.c index 2608f7e..a87b523 100644 --- a/PC/dl_nt.c +++ b/PC/dl_nt.c
@@ -7,11 +7,9 @@ forgotten) from the programmer. */ -#include "windows.h" -/* NT and Python share these */ -#include "pyconfig.h" #include "Python.h" +#include "windows.h" char dllVersionBuffer[16] = ""; // a private buffer