libsaria: Variables in version.h should be static
Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
d764489e89
commit
933fc308e6
|
@ -5,14 +5,15 @@
|
|||
#include <sstream>
|
||||
using namespace std;
|
||||
|
||||
unsigned int MAJOR = __MAJOR__;
|
||||
unsigned int MINOR = __MINOR__;
|
||||
unsigned int BUG = __BUG__;
|
||||
string EXTRA = "__EXTRA__";
|
||||
static unsigned int MAJOR = __MAJOR__;
|
||||
static unsigned int MINOR = __MINOR__;
|
||||
static unsigned int BUG = __BUG__;
|
||||
static string EXTRA = "__EXTRA__";
|
||||
|
||||
#ifdef DEBUG
|
||||
bool IS_DEBUG = true;
|
||||
static bool IS_DEBUG = true;
|
||||
#else /* DEBUG */
|
||||
bool IS_DEBUG = false;
|
||||
static bool IS_DEBUG = false;
|
||||
#endif /* DEBUG */
|
||||
|
||||
string vers_str()
|
||||
|
|
Loading…
Reference in New Issue