projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix looping on handles
[yaffs2.git]
/
yportenv.h
diff --git
a/yportenv.h
b/yportenv.h
index 6cd90da756165b417a3f937eada2b59392e619db..097b2a6756bfcc820f78a0f8e00b37f0ce70ca35 100644
(file)
--- a/
yportenv.h
+++ b/
yportenv.h
@@
-193,8
+193,8
@@
extern unsigned int yaffs_wr_attempts;
#define T(mask,p) do{ if((mask) & (yaffs_traceMask | YAFFS_TRACE_ALWAYS)) TOUT(p);} while(0)
#define T(mask,p) do{ if((mask) & (yaffs_traceMask | YAFFS_TRACE_ALWAYS)) TOUT(p);} while(0)
-#ifndef
CONFIG_YAFFS_WINCE
-#define YBUG()
T(YAFFS_TRACE_BUG,(TSTR("==>> yaffs bug: " __FILE__ " %d" TENDSTR),__LINE__)
)
+#ifndef
YBUG
+#define YBUG()
do {T(YAFFS_TRACE_BUG,(TSTR("==>> yaffs bug: " __FILE__ " %d" TENDSTR),__LINE__));} while(0
)
#endif
#endif
#endif
#endif