source:
trunk/essentials/dev-lang/python/Modules/getbuildinfo.c@
3226
| Last change on this file since 3226 was 3225, checked in by , 19 years ago | |
|---|---|
| File size: 789 bytes | |
| Line | |
|---|---|
| 1 | #include "Python.h" |
| 2 | |
| 3 | #ifndef DONT_HAVE_STDIO_H |
| 4 | #include <stdio.h> |
| 5 | #endif |
| 6 | |
| 7 | #ifndef DATE |
| 8 | #ifdef __DATE__ |
| 9 | #define DATE __DATE__ |
| 10 | #else |
| 11 | #define DATE "xx/xx/xx" |
| 12 | #endif |
| 13 | #endif |
| 14 | |
| 15 | #ifndef TIME |
| 16 | #ifdef __TIME__ |
| 17 | #define TIME __TIME__ |
| 18 | #else |
| 19 | #define TIME "xx:xx:xx" |
| 20 | #endif |
| 21 | #endif |
| 22 | |
| 23 | #ifdef SUBWCREV |
| 24 | #define SVNVERSION "$WCRANGE$$WCMODS?M:$" |
| 25 | #endif |
| 26 | |
| 27 | const char * |
| 28 | Py_GetBuildInfo(void) |
| 29 | { |
