aboutsummaryrefslogtreecommitdiffstats
path: root/src/framework/include/nstack_log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/framework/include/nstack_log.h')
-rw-r--r--src/framework/include/nstack_log.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/framework/include/nstack_log.h b/src/framework/include/nstack_log.h
index d0c2649..67e5b29 100644
--- a/src/framework/include/nstack_log.h
+++ b/src/framework/include/nstack_log.h
@@ -39,7 +39,11 @@
#include "glog/nstack_glog_in.h"
#define NSTACK_GETVER_MODULE "nStack"
-#define NSTACK_GETVER_VERSION "VPP2.0 V100R002C10B053"
+
+#ifndef NSTACK_GETVER_VERSION
+ #error "need define version first"
+#endif
+
#define NSTACK_GETVER_BUILDTIME "[" __DATE__ "]" "[" __TIME__ "]"
#define NSTACK_VERSION NSTACK_GETVER_VERSION " (" NSTACK_GETVER_MODULE ") " NSTACK_GETVER_BUILDTIME