put patchlevel into version string

This commit is contained in:
zimoch
2012-05-16 09:59:48 +00:00
parent db50c35ad6
commit 3b60bb9420
2 changed files with 4 additions and 2 deletions

View File

@ -23,6 +23,7 @@
#define STR2(x) #x
#define STR(x) STR2(x)
const char StreamVersion [] =
"StreamDevice " STR(STREAM_MAJOR) "." STR(STREAM_MINOR)
"StreamDevice " STR(STREAM_MAJOR)
"." STR(STREAM_MINOR)
"." STR(STREAM_PATCHLEVEL)
" built " __DATE__ " " __TIME__;

View File

@ -23,6 +23,7 @@
#define STREAM_MAJOR 2
#define STREAM_MINOR 5
#define STREAM_PATCHLEVEL 10
#if defined(__vxworks) || defined(vxWorks)
#include <vxWorks.h>