mirror of
https://gitlab.com/ecodis/exhale.git
synced 2025-02-03 00:47:37 +01:00
Merge branch 'master' of https://gitlab.com/ecodis/exhale
This commit is contained in:
commit
db682d526b
@ -83,6 +83,18 @@ int main (const int argc, char* argv[])
|
||||
return 32768; // bad executable string
|
||||
}
|
||||
|
||||
// print program header with compile info in plain text if we pass -V
|
||||
if (argc > 1 && (strcmp(argv[1], "-V") == 0 || strcmp(argv[1], "-v") == 0))
|
||||
{
|
||||
#if defined (_WIN64) || defined (WIN64) || defined (_LP64) || defined (__LP64__) || defined (__x86_64) || defined (__x86_64__)
|
||||
fprintf_s(stdout, "exhale %s.%s%s (x64)\n",
|
||||
#else // 32-bit OS
|
||||
fprintf_s(stdout, "exhale %s.%s%s (x86)\n",
|
||||
#endif
|
||||
EXHALELIB_VERSION_MAJOR, EXHALELIB_VERSION_MINOR, EXHALELIB_VERSION_BUGFIX);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// print program header with compile info
|
||||
fprintf_s (stdout, "\n ---------------------------------------------------------------------\n");
|
||||
fprintf_s (stdout, " | ");
|
||||
|
Loading…
x
Reference in New Issue
Block a user