mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	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:
		
							parent
							
								
									ba526438f8
								
							
						
					
					
						commit
						629ec26f63
					
				
					 5 changed files with 6 additions and 8 deletions
				
			
		|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Kristján Valur Jónsson
						Kristján Valur Jónsson