aboutsummaryrefslogtreecommitdiff
path: root/src/core/stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stats.h')
-rw-r--r--src/core/stats.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/stats.h b/src/core/stats.h
index 87bd90a7..215e07d8 100644
--- a/src/core/stats.h
+++ b/src/core/stats.h
@@ -49,6 +49,8 @@ struct nni_stat_item {
const char * si_string; // string value (NULL for numerics)
uint64_t si_number; // numeric value
nni_atomic_u64 si_atomic; // atomic value
+#else
+ char si_disabled; // place holder, cannot be empty in C
#endif
};