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:
@ -2,6 +2,7 @@
|
|||||||
#define __CREDITS_AH__
|
#define __CREDITS_AH__
|
||||||
|
|
||||||
#include "config/VariantConfig.hpp"
|
#include "config/VariantConfig.hpp"
|
||||||
|
#include "config/FailConfig.hpp"
|
||||||
|
|
||||||
#ifdef BUILD_BOCHS
|
#ifdef BUILD_BOCHS
|
||||||
|
|
||||||
@ -22,7 +23,7 @@ aspect Credits {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// FIXME take version from global configuration
|
// 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);
|
strncat(buf, line, 128);
|
||||||
first = false;
|
first = false;
|
||||||
*(tjp->arg<1>()) = buf;
|
*(tjp->arg<1>()) = buf;
|
||||||
|
|||||||
Reference in New Issue
Block a user