better handling for ifdefs

This commit is contained in:
andreas committed 2021-11-08 20:40:37 +01:00
1 parent 7c68747bd2
commit 7e348431b0
3 files changed
+11 -9

No files matched your search

+4 -2
View File
@@ -17,10 +17,12 @@
#ifdef GWRELEASEVERSION
#define VERSION GWSTRINGIFY(GWRELEASEVERSION)
#define LOGLEVEL GwLog::ERROR
#elif GWDEVVERSION
#endif
#ifdef GWDEVVERSION
#define VERSION GWSTRINGIFY(GWDEVVERSION)
#define LOGLEVEL GwLog::DEBUG
#else
#endif
#ifndef VERSION
#define VERSION "0.7.0"
#define LOGLEVEL GwLog::DEBUG
#endif