3 #ifndef DONT_HAVE_STDIO_H
11 #define DATE "xx/xx/xx"
19 #define TIME "xx:xx:xx"
23 /* on unix, SVNVERSION is passed on the command line.
24 * on Windows, the string is interpolated using
28 #define SVNVERSION "$WCRANGE$$WCMODS?M:$"
34 static char buildinfo
[50];
35 const char *revision
= Py_SubversionRevision();
36 const char *sep
= *revision
? ":" : "";
37 const char *branch
= Py_SubversionShortBranch();
38 PyOS_snprintf(buildinfo
, sizeof(buildinfo
),
39 "%s%s%s, %.20s, %.9s", branch
, sep
, revision
,
47 /* the following string can be modified by subwcrev.exe */
48 static const char svnversion
[] = SVNVERSION
;
49 if (svnversion
[0] != '$')
50 return svnversion
; /* it was interpolated, or passed on command line */