Skip to content
Browse files

[lzma] allow enabling of progress bar from command line

Signed-off-by: Christopher Hall <hsw@openmoko.com>
  • Loading branch information...
1 parent f61a2f4 commit 917ae41b06f3aa3e7224c6a1b84b24922834b7c5 @hxw hxw committed Jun 11, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 samo-lib/lzma/LzmaDec.c
View
3 samo-lib/lzma/LzmaDec.c
@@ -134,7 +134,10 @@ And it decodes new LZMA-symbols while (buf < bufLimit), but "buf" is without las
= kMatchSpecLenStart + 2 : State Init Marker
*/
+#if !defined(ENABLE_PROGRESS)
#define ENABLE_PROGRESS 0
+#endif
+
#define MAX_LZMA_PROGRESS_COUNT 240
extern void draw_progress_bar(int progressCount);

0 comments on commit 917ae41

Please sign in to comment.
Something went wrong with that request. Please try again.