diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-01-18 09:13:51 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-01-18 09:13:51 (GMT) |
commit | d078e40d416566d3a88bc47c2df180c85d5e339f (patch) | |
tree | d06e90b22394a87dfb47a2f0c14e6377ce6808bb /Modules/getbuildinfo.c | |
parent | d790a7b596585a5726b8e7aa3e5c437944532bc0 (diff) | |
download | cpython-d078e40d416566d3a88bc47c2df180c85d5e339f.zip cpython-d078e40d416566d3a88bc47c2df180c85d5e339f.tar.gz cpython-d078e40d416566d3a88bc47c2df180c85d5e339f.tar.bz2 |
Generate getbuildinfo.o each time the linker is invoked;
try to generate SVNVERSION information if subwcrev.exe
can be found.
Diffstat (limited to 'Modules/getbuildinfo.c')
-rw-r--r-- | Modules/getbuildinfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/getbuildinfo.c b/Modules/getbuildinfo.c index 7b47aea..a017dab 100644 --- a/Modules/getbuildinfo.c +++ b/Modules/getbuildinfo.c @@ -20,6 +20,10 @@ #endif #endif +#ifdef SUBWCREV +#define SVNVERSION "$WCRANGE$$WCMODS?M:$" +#endif + const char * Py_GetBuildInfo(void) { |