Mercurial > cpython-lru_cache-weakref
diff Python/getcompiler.c @ 3621:f158edccc72c legacy-trunk
grand renaming; added copyright to some files
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 28 May 1996 22:30:17 +0000 |
| parents | bd20c04274ff |
| children | 65d2d8e67da3 |
line wrap: on
line diff
--- a/Python/getcompiler.c Tue May 28 22:28:12 1996 +0000 +++ b/Python/getcompiler.c Tue May 28 22:30:17 1996 +0000 @@ -22,26 +22,30 @@ ******************************************************************/ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif +/* Return the compiler identification, if possible. */ + +#include "Python.h" #ifndef COMPILER + #ifdef __GNUC__ #define COMPILER " [GCC " __VERSION__ "]" #endif + #endif /* !COMPILER */ #ifndef COMPILER + #ifdef __cplusplus #define COMPILER "[C++]" #else #define COMPILER "[C]" #endif + #endif /* !COMPILER */ char * -getcompiler() +Py_GetCompiler() { return COMPILER; }
