changeset 1305:d256c2b5a157

Small debug improvement from Thomas Koeller
author gthomas
date Tue, 14 Oct 2003 12:24:35 +0000
parents de0e43840dee
children 093db8861a73
files packages/fs/jffs2/current/ChangeLog packages/fs/jffs2/current/src/os-ecos.h
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/fs/jffs2/current/ChangeLog
+++ b/packages/fs/jffs2/current/ChangeLog
@@ -1,3 +1,9 @@
+2003-10-14  Thomas Koeller  <thomas.koeller@baslerweb.com>
+
+	* src/os-ecos.h: Made definition of CONFIG_JFFS2_FS_DEBUG
+	conditional, so it can be overwritten by a -D compiler
+	option.
+                                                                               
 2003-09-23  Thomas Koeller  <thomas.koeller@baslerweb.com>
                                                                                
         * src/fs-ecos.c: Another umount() fix.
--- a/packages/fs/jffs2/current/src/os-ecos.h
+++ b/packages/fs/jffs2/current/src/os-ecos.h
@@ -21,7 +21,9 @@
 #include <linux/compiler.h>
 #include "jffs2port.h"
 
-#define CONFIG_JFFS2_FS_DEBUG 0
+#ifndef CONFIG_JFFS2_FS_DEBUG
+# define CONFIG_JFFS2_FS_DEBUG 0
+#endif
 
 static inline uint32_t os_to_jffs2_mode(uint32_t osmode)
 {