about summary refs log tree commit diff stats
path: root/src/build_info.c
blob: 02c19b4fc3d84850711055499e9055f672070a3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <stdio.h>
#include "debug.h"
#include "box64version.h"
#ifdef NOGIT
#define GITREV "nogit"
#else
#include "git_head.h"
#endif

void PrintBox64Version()
{
    printf("Box64%s%s v%d.%d.%d %s built on %s %s\n", 
    #ifdef HAVE_TRACE
        " with trace",
    #else
        "",
    #endif
    #ifdef DYNAREC
        " with Dynarec",
    #else
        "",
    #endif
        BOX64_MAJOR, BOX64_MINOR, BOX64_REVISION,
        GITREV,
        __DATE__, __TIME__);
}