...and the Mac side.
This commit is contained in:
@@ -22,9 +22,7 @@
|
|||||||
#include "archutils/Darwin/Crash.h"
|
#include "archutils/Darwin/Crash.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_VERSION_INFO)
|
|
||||||
#include "ver.h"
|
#include "ver.h"
|
||||||
#endif
|
|
||||||
|
|
||||||
bool child_read( int fd, void *p, int size );
|
bool child_read( int fd, void *p, int size );
|
||||||
|
|
||||||
@@ -202,7 +200,7 @@ static void child_process()
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf( CrashDump, "%s crash report", PRODUCT_ID_VER );
|
fprintf( CrashDump, "%s%s crash report", PRODUCT_FAMILY, product_version );
|
||||||
#if defined(HAVE_VERSION_INFO)
|
#if defined(HAVE_VERSION_INFO)
|
||||||
fprintf( CrashDump, " (build %lu, %s @ %s)", version_num, version_date, version_time );
|
fprintf( CrashDump, " (build %lu, %s @ %s)", version_num, version_date, version_time );
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
#ifndef STEPMANIA_VER_H
|
#ifndef STEPMANIA_VER_H
|
||||||
#define STEPMANIA_VER_H
|
#define STEPMANIA_VER_H
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// HACK: The MSVC project doesn't generate this yet
|
// HACK: The MSVC project doesn't generate this yet
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) || defined(__MACOSX__)
|
||||||
#define product_version "5.0-UNKNOWN"
|
#define product_version "5.0-UNKNOWN"
|
||||||
#else
|
#else
|
||||||
extern const char *const product_version;
|
extern const char *const product_version;
|
||||||
|
|||||||
Reference in New Issue
Block a user