blob: c46581910b55d3f212e2fd29b3db0f4c5847f5cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <string.h>
#include "firm_version.h"
#ifndef FIRM_THREAD
#define FIRM_THREAD
#endif
static FIRM_THREAD char firm_revision_buffer[64] = {0};
static inline char * firm_revision()
{
if (strcmp(FIRM_GIT_VERSION,"unknown"))
sprintf(firm_revision_buffer,"%s-dirty",
FIRM_GIT_VERSION);
return firm_revision_buffer;
}
#define libfirm_VERSION_REVISION firm_revision()
|