aboutsummaryrefslogtreecommitdiffstats
path: root/src/framework
diff options
context:
space:
mode:
authoryalei wang <wylandrea@gmail.com>2018-06-18 02:16:19 +0000
committerGerrit Code Review <gerrit@fd.io>2018-06-18 02:16:19 +0000
commit24cbcfaa6fa1121dec1a029a1df114f065341156 (patch)
treec20a80cf380d1e478cb98ba916ebc2966bc5f441 /src/framework
parenta0b2a4877db247b92fea1a336dd027cbbd05ae48 (diff)
parent4b828dac02c029a83f7dc36a358db110e0f7959e (diff)
Merge "Fix some doc typo"
Diffstat (limited to 'src/framework')
-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