view Python/getcompiler.c @ 3493:03c6c18325ea legacy-trunk

Add list() method, analogous to tuple().
author Guido van Rossum <guido@python.org>
date Tue, 09 Apr 1996 02:41:06 +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;
}