bochs: version not hardcoded anymore

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1617 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-09-12 14:07:10 +00:00
parent 6223759471
commit 8cadb3e5c6

View File

@ -2,6 +2,7 @@
#define __CREDITS_AH__
#include "config/VariantConfig.hpp"
#include "config/FailConfig.hpp"
#ifdef BUILD_BOCHS
@ -22,7 +23,7 @@ aspect Credits {
return;
}
// FIXME take version from global configuration
char buf[256] = "FailBochs 0.0.1, based on the ";
char buf[256] = "FailBochs " FAIL_VERSION ", based on the ";
strncat(buf, line, 128);
first = false;
*(tjp->arg<1>()) = buf;