...and the Mac side.

This commit is contained in:
Jason Felds
2015-01-28 22:09:38 -05:00
parent 890e19f16d
commit 0a4902c648
2 changed files with 4 additions and 4 deletions
+1 -3
View File
@@ -22,9 +22,7 @@
#include "archutils/Darwin/Crash.h"
#endif
#if defined(HAVE_VERSION_INFO)
#include "ver.h"
#endif
bool child_read( int fd, void *p, int size );
@@ -202,7 +200,7 @@ static void child_process()
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)
fprintf( CrashDump, " (build %lu, %s @ %s)", version_num, version_date, version_time );
#endif
+3 -1
View File
@@ -1,8 +1,10 @@
#ifndef STEPMANIA_VER_H
#define STEPMANIA_VER_H
// HACK: The MSVC project doesn't generate this yet
#ifdef _MSC_VER
#if defined(_MSC_VER) || defined(__MACOSX__)
#define product_version "5.0-UNKNOWN"
#else
extern const char *const product_version;