summaryrefslogtreecommitdiffstats
path: root/firmware/export/mv.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/mv.h')
-rw-r--r--firmware/export/mv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/mv.h b/firmware/export/mv.h
index 3657ef6c98..08daf50b34 100644
--- a/firmware/export/mv.h
+++ b/firmware/export/mv.h
@@ -87,6 +87,10 @@
#define VOL_MAX_LEN (1 + VOL_DEC_MAX_LEN + 2 + 1)
#define VOL_NUM_MAX 100
+#ifndef ROOT_VOLUME
+#define ROOT_VOLUME INT_MAX
+#endif
+
#else /* empty definitions if no multi-volume */
#define IF_MV(x...)
#define IF_MV_NONVOID(x...) void