Trying automagic version stuff

This commit is contained in:
henryk@ploetzli.ch 2009-08-28 02:40:22 +00:00
parent 8e19377db1
commit 42bc3be31c

10
common/version.c Normal file
View file

@ -0,0 +1,10 @@
#define VERSION "$Id $"
static const struct __attribute__((packed)) {
const char string[48];
unsigned int length;
unsigned int magic;
} version __attribute__((unused,section("versioninformation"))) = {
VERSION,
sizeof(VERSION),
0x48151623,
};