Mercurial > cpython-lru_cache-weakref
view Python/getcompiler.c @ 45919:855c4290dfd7 legacy-trunk
Fix the tcl-8.4.18.1 path and make sure we cd into the right directory when building tcl/tk.
| author | Trent Nelson <trent.nelson@snakebite.org> |
|---|---|
| date | Wed, 19 Mar 2008 08:06:03 +0000 |
| parents | 4306107b1395 |
| children |
line wrap: on
line source
/* Return the compiler identification, if possible. */ #include "Python.h" #ifndef COMPILER #ifdef __GNUC__ #define COMPILER "\n[GCC " __VERSION__ "]" #endif #endif /* !COMPILER */ #ifndef COMPILER #ifdef __cplusplus #define COMPILER "[C++]" #else #define COMPILER "[C]" #endif #endif /* !COMPILER */ const char * Py_GetCompiler(void) { return COMPILER; }
