blob: a65789fb0722df0aa3aafebc7d9aae0ea671fdb1 [file] [log] [blame]
#ifdef __GNUC__
#define COMPILER " [GCC " __VERSION__ "]"
#endif
#ifndef COMPILER
#ifdef __cplusplus
#define COMPILER "[C++]"
#else
#define COMPILER "[C]"
#endif
#endif
char *
getcompiler()
{
return COMPILER;
}