Skip to content

Commit 31ad2f2

Browse files
committed
Adds MaikoGitVersion to information printed with -info option
1 parent b13a35e commit 31ad2f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ extern DspInterface currentdsp;
246246
#include "sdldefs.h" /* for init_SDL */
247247
#endif
248248
extern const time_t MDate;
249+
extern const char *MaikoGitVersion;
249250
extern int nokbdflag;
250251
extern int nomouseflag;
251252
#ifdef DOS
@@ -831,6 +832,7 @@ void print_info_lines(void) {
831832
#endif /* RELEASE */
832833
printf("Compiled for %s (%s) (%d bit).\n", MAIKO_OS_NAME, MAIKO_ARCH_NAME, MAIKO_ARCH_WORD_BITS);
833834
printf("Creation date: %s", ctime(&MDate));
835+
printf("%s\n", MaikoGitVersion);
834836
#ifdef LPSOLVE
835837
printf("Contains lp_solve LP solver.\n");
836838
#endif /* LPSOLVE */

0 commit comments

Comments
 (0)