mirror of git://vps1.g8bpq.net/linbpq
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
612 B
29 lines
612 B
|
|
char VersionString[50]="";
|
|
char VersionStringWithBuild[50]="";
|
|
int Ver[4] = {Vers};
|
|
char TextVerstring[50] = "";
|
|
|
|
void GetVersionInfo(char * File)
|
|
{
|
|
#ifndef LINBPQ
|
|
|
|
char isDebug[40]="";
|
|
|
|
#ifdef SPECIALVERSION
|
|
strcat(isDebug, SPECIALVERSION);
|
|
#endif
|
|
#ifdef _DEBUG
|
|
strcat(isDebug, "Debug Build ");
|
|
#endif
|
|
|
|
sprintf(VersionString,"%d.%d.%d.%d %s", Ver[0], Ver[1], Ver[2], Ver[3], isDebug);
|
|
|
|
sprintf(TextVerstring,"V%d.%d.%d.%d", Ver[0], Ver[1], Ver[2], Ver[3]);
|
|
|
|
sprintf(VersionStringWithBuild,"%d.%d.%d Build %d %s", Ver[0], Ver[1], Ver[2], Ver[3], isDebug);
|
|
|
|
return;
|
|
#endif
|
|
}
|