commit fa3cef83618300131cb6d03baddbef8a842fe9b4
Author: Erez_Zadok <[EMAIL PROTECTED]>
Date:   Thu Sep 6 20:02:21 2007 -0400

    Unionfs: compatible boolean type
    
    Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>

diff --git a/fs/unionfs/compat.h b/fs/unionfs/compat.h
index f120b1d..fdf2c5d 100644
--- a/fs/unionfs/compat.h
+++ b/fs/unionfs/compat.h
@@ -29,6 +29,11 @@ extern void *krealloc2(size_t oldsize, void *ptr, size_t 
newsize, int flags);
 #define SEEK_END       2       /* seek relative to end of file */
 #define SEEK_MAX       SEEK_END
 #define lookup_one_len_nd(name,base,len,nd)    
lookup_one_len((name),(base),(len))
+/* define compatible boolean type */
+#define bool int
+#define false (0)
+#define true (1)
+
 
 struct path {
        struct vfsmount *mnt;
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to