mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	In FreeBSD when using ELF, an underscore is needed in front of the
function name. (Vladimir Kushnir by way of Thomas Gellekum.)
This commit is contained in:
		
							parent
							
								
									e504fa289f
								
							
						
					
					
						commit
						65f15d435e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -268,7 +268,7 @@ typedef void (*dl_funcptr)(); | |||
| extern char *Py_GetProgramName(); | ||||
| 
 | ||||
| #ifndef FUNCNAME_PATTERN | ||||
| #if defined(__hp9000s300) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__BORLANDC__) | ||||
| #if defined(__hp9000s300) || defined(__NetBSD__) || defined(__FreeBSD__) && !defined(__ELF__) || defined(__OpenBSD__) || defined(__BORLANDC__) | ||||
| #define FUNCNAME_PATTERN "_init%.200s" | ||||
| #else | ||||
| #define FUNCNAME_PATTERN "init%.200s" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum