Mercurial > cpython-lru_cache-weakref
comparison Python/sysmodule.c @ 43813:1561763cda72
No need to include windows.h twice
| author | Amaury Forgeot d'Arc <amauryfa@gmail.com> |
|---|---|
| date | Sat, 10 Nov 2007 13:55:44 +0000 |
| parents | 0d462d789b18 |
| children | 0377ba9bc359 |
comparison
equal
deleted
inserted
replaced
| 43811:20dc6786f9ac | 43813:1561763cda72 |
|---|---|
| 21 | 21 |
| 22 #include "osdefs.h" | 22 #include "osdefs.h" |
| 23 | 23 |
| 24 #ifdef MS_WINDOWS | 24 #ifdef MS_WINDOWS |
| 25 #define WIN32_LEAN_AND_MEAN | 25 #define WIN32_LEAN_AND_MEAN |
| 26 #include "windows.h" | 26 #include <windows.h> |
| 27 #endif /* MS_WINDOWS */ | 27 #endif /* MS_WINDOWS */ |
| 28 | 28 |
| 29 #ifdef MS_COREDLL | 29 #ifdef MS_COREDLL |
| 30 extern void *PyWin_DLLhModule; | 30 extern void *PyWin_DLLhModule; |
| 31 /* A string loaded from the DLL at startup: */ | 31 /* A string loaded from the DLL at startup: */ |
| 32 extern const char *PyWin_DLLVersionString; | 32 extern const char *PyWin_DLLVersionString; |
| 33 #endif | 33 #endif |
| 34 | 34 |
| 35 #ifdef __VMS | 35 #ifdef __VMS |
| 36 #include <unixlib.h> | 36 #include <unixlib.h> |
| 37 #endif | |
| 38 | |
| 39 #ifdef MS_WINDOWS | |
| 40 #include <windows.h> | |
| 41 #endif | 37 #endif |
| 42 | 38 |
| 43 #ifdef HAVE_LANGINFO_H | 39 #ifdef HAVE_LANGINFO_H |
| 44 #include <locale.h> | 40 #include <locale.h> |
| 45 #include <langinfo.h> | 41 #include <langinfo.h> |
