Adapt to recent version_num changes.

...I don't get what's going on either.
This commit is contained in:
Jason Felds
2015-01-28 21:45:23 -05:00
parent 9c52fb659b
commit 7a6db33644
2 changed files with 73 additions and 72 deletions
+4 -3
View File
@@ -61,9 +61,10 @@ int main(void)
if ( f = fopen("verstub.cpp","w") )
{
fprintf(f,
"unsigned long version_num = %ld;\n"
"extern const char *const version_date = \"%s\";\n"
"extern const char *const version_time = \"%s\";\n",
"#include \"ver.h\"\n"
"unsigned long const version_num = %ld;\n"
"extern char const * const version_date = \"%s\";\n"
"extern char const * const version_time = \"%s\";\n",
build, strdate, strtime);
fclose(f);
}
Binary file not shown.