mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	* main.c: add missing #include <fenv.h> on FreeBSD * indent also other #ifdef in main.c * cleanup Programs/python.c
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			266 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			266 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* Minimal main program -- everything is loaded from the library */
 | 
						|
 | 
						|
#include "Python.h"
 | 
						|
 | 
						|
#ifdef MS_WINDOWS
 | 
						|
int
 | 
						|
wmain(int argc, wchar_t **argv)
 | 
						|
{
 | 
						|
    return Py_Main(argc, argv);
 | 
						|
}
 | 
						|
#else
 | 
						|
int
 | 
						|
main(int argc, char **argv)
 | 
						|
{
 | 
						|
    return _Py_UnixMain(argc, argv);
 | 
						|
}
 | 
						|
#endif
 |