blob: 430351f3572f945e079c7cfc69eab4b542397a05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include <stdio.h>
#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()
|