source:
vendor/python/2.5/Python/getcompiler.c@
3364
| Last change on this file since 3364 was 3225, checked in by , 19 years ago | |
|---|---|
| File size: 366 bytes | |
| Rev | Line | |
|---|---|---|
| [3225] | 1 | |
| 2 | /* Return the compiler identification, if possible. */ | |
| 3 | ||
| 4 | #include "Python.h" | |
| 5 | ||
| 6 | #ifndef COMPILER | |
| 7 | ||
| 8 | #ifdef __GNUC__ | |
| 9 | #define COMPILER "\n[GCC " __VERSION__ "]" | |
| 10 | #endif | |
| 11 | ||
| 12 | #endif /* !COMPILER */ | |
| 13 | ||
| 14 | #ifndef COMPILER | |
| 15 | ||
| 16 | #ifdef __cplusplus | |
| 17 | #define COMPILER "[C++]" | |
| 18 | #else | |
| 19 | #define COMPILER "[C]" | |
