cpython: 4459d82ff127 (original) (raw)

--- a/PCbuild/make_buildinfo.c +++ b/PCbuild/make_buildinfo.c @@ -2,6 +2,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <stdio.h> +#include <io.h> #define CMD_SIZE 500 @@ -61,6 +62,51 @@ int make_buildinfo2(const char *tmppath) return 1; } +const char DELIMS[] = { " \n" }; + +int get_mercurial_info(char * hgbranch, char * hgtag, char * hgrev, int size) +{

+

+

+

+} + int main(int argc, charargv[]) { char command[CMD_SIZE] = "cl.exe -c -D_WIN32 -DUSE_DL_EXPORT -D_WINDOWS -DWIN32 -D_WINDLL "; @@ -109,8 +155,27 @@ int main(int argc, charargv[]) strcat_s(command, CMD_SIZE, """); strcat_s(command, CMD_SIZE, tmppath); strcat_s(command, CMD_SIZE, "getbuildinfo2.c" -DSUBWCREV ");

+

+

+