diff options
author | Guido van Rossum <guido@python.org> | 1996-05-28 22:30:17 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-05-28 22:30:17 (GMT) |
commit | 582646aecc3776109b784e1638849ea9c6389a55 (patch) | |
tree | 2c84702e11842dcd955052896f9af73a780ea662 /Python/getcompiler.c | |
parent | 0a8626eb889a05cd9f30a142a576800a83f525dc (diff) | |
download | cpython-582646aecc3776109b784e1638849ea9c6389a55.zip cpython-582646aecc3776109b784e1638849ea9c6389a55.tar.gz cpython-582646aecc3776109b784e1638849ea9c6389a55.tar.bz2 |
grand renaming; added copyright to some files
Diffstat (limited to 'Python/getcompiler.c')
-rw-r--r-- | Python/getcompiler.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Python/getcompiler.c b/Python/getcompiler.c index 0816717..56ff486 100644 --- a/Python/getcompiler.c +++ b/Python/getcompiler.c @@ -22,26 +22,30 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ -#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; } |