mirror of
				https://github.com/python/cpython.git
				synced 2025-10-26 03:04:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			214 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			214 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifdef __GNUC__
 | |
| #define COMPILER " [GCC " __VERSION__ "]"
 | |
| #endif
 | |
| 
 | |
| #ifndef COMPILER
 | |
| #ifdef __cplusplus
 | |
| #define COMPILER "[C++]"
 | |
| #else
 | |
| #define COMPILER "[C]"
 | |
| #endif
 | |
| #endif
 | |
| 
 | |
| char *
 | |
| getcompiler()
 | |
| {
 | |
| 	return COMPILER;
 | |
| }
 | 
