view Python/getcompiler.c @ 3575:e2b3a696d69c legacy-trunk

Use new names for debug macros. Don't include pythonrun.h.
author Guido van Rossum <guido@python.org>
date Wed, 22 May 1996 16:35:33 +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;
}