Use HAVE_VERSION_INFO so that multiple archs can take advantage of a build number and date

This commit is contained in:
Steve Checkoway
2003-08-02 12:51:25 +00:00
parent ea6352e60b
commit 1e5b735bcd
5 changed files with 17 additions and 4 deletions
@@ -22,6 +22,10 @@
#include "archutils/Darwin/Crash.h"
#endif
#if defined(HAVE_VERSION_INFO)
extern const unsigned version_num;
#endif
struct BacktraceNames
{
CString Symbol, File;
@@ -339,8 +343,11 @@ static void child_process()
exit(1);
}
fprintf(CrashDump, "StepMania crash report\n");
fprintf(CrashDump, "--------------------------------------\n");
fprintf(CrashDump, "StepMania crash report");
#if defined(HAVE_VERSION_INFO)
fprintf(CrashDump, " -- build %u", version_num);
#endif
fprintf(CrashDump, "\n--------------------------------------\n");
fprintf(CrashDump, "\n");
CString Signal;