view Python/getcompiler.c @ 3294:2bddfb3cfcf1 legacy-trunk

don't return from main loop when error occurs
author Guido van Rossum <guido@python.org>
date Sun, 10 Dec 1995 04:57:42 +0000
parents f0d9f800a4aa
children bd20c04274ff
line wrap: on
line source

#ifdef __GNUC__
#define COMPILER " [GCC " __VERSION__ "]"
#endif

#ifndef COMPILER
#ifdef __cplusplus
#define COMPILER "[C++]"
#else
#define COMPILER "[C]"
#endif
#endif

char *
getcompiler()
{
	return COMPILER;
}