Mercurial > cpython-lru_cache-weakref
diff Python/getcompiler.c @ 2896:f0d9f800a4aa legacy-trunk
Initial revision
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 04 Aug 1995 04:20:48 +0000 |
| parents | |
| children | bd20c04274ff |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Python/getcompiler.c Fri Aug 04 04:20:48 1995 +0000 @@ -0,0 +1,17 @@ +#ifdef __GNUC__ +#define COMPILER " [GCC " __VERSION__ "]" +#endif + +#ifndef COMPILER +#ifdef __cplusplus +#define COMPILER "[C++]" +#else +#define COMPILER "[C]" +#endif +#endif + +char * +getcompiler() +{ + return COMPILER; +}
