mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	Disable usage of Expat's config.h.
This commit is contained in:
		
							parent
							
								
									1dbb1caf86
								
							
						
					
					
						commit
						481f68aaa6
					
				
					 3 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -9,7 +9,9 @@ See the file COPYING for copying permission.
 | 
				
			||||||
#  include "expat.h"
 | 
					#  include "expat.h"
 | 
				
			||||||
#  undef XMLPARSEAPI
 | 
					#  undef XMLPARSEAPI
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
 | 
					#ifdef HAVE_CONFIG_H
 | 
				
			||||||
#include <config.h>
 | 
					#include <config.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __declspec
 | 
					#ifdef __declspec
 | 
				
			||||||
#  define XMLPARSEAPI(type) __declspec(dllexport) type __cdecl
 | 
					#  define XMLPARSEAPI(type) __declspec(dllexport) type __cdecl
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -9,7 +9,9 @@ static char RCSId[]
 | 
				
			||||||
#ifdef COMPILED_FROM_DSP
 | 
					#ifdef COMPILED_FROM_DSP
 | 
				
			||||||
#  include "winconfig.h"
 | 
					#  include "winconfig.h"
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
 | 
					#ifdef HAVE_CONFIG_H
 | 
				
			||||||
#  include <config.h>
 | 
					#  include <config.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#endif /* ndef COMPILED_FROM_DSP */
 | 
					#endif /* ndef COMPILED_FROM_DSP */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "xmlrole.h"
 | 
					#include "xmlrole.h"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,7 +6,9 @@ See the file COPYING for copying permission.
 | 
				
			||||||
#ifdef COMPILED_FROM_DSP
 | 
					#ifdef COMPILED_FROM_DSP
 | 
				
			||||||
#  include "winconfig.h"
 | 
					#  include "winconfig.h"
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
 | 
					#ifdef HAVE_CONFIG_H
 | 
				
			||||||
#  include <config.h>
 | 
					#  include <config.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#endif /* ndef COMPILED_FROM_DSP */
 | 
					#endif /* ndef COMPILED_FROM_DSP */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "xmltok.h"
 | 
					#include "xmltok.h"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue