Mercurial > cpython-lru_cache-weakref
view Python/getcompiler.c @ 50518:072dedee77fa 3.0
Merged revisions 68216 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r68216 | antoine.pitrou | 2009-01-03 21:28:05 +0100 (sam., 03 janv. 2009) | 3 lines
Fix BytesWarning with -bb in wsgiref.headers.Headers.
........
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Sat, 03 Jan 2009 21:38:35 +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; }
