da7ac10987
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
10 lines
180 B
C++
10 lines
180 B
C++
#include "linux/version.h"
|
|
#include "linux/version.hpp"
|
|
|
|
#define xstr(a) str(a)
|
|
#define str(a, b, c, d) #a"."#b"."#c"."#d
|
|
|
|
std::string getVersion()
|
|
{
|
|
return xstr(FILEVERSION);
|
|
}
|