Changes by: antona
Update of /cvsroot/linux-ntfs/ntfsprogs/include/ntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30180/include/ntfs
Modified Files:
types.h
Log Message:
- Deal with missing syslog function by making code conditional on
presence of syslog.h header file (DOS/djgpp). (Christophe)
- Avoid clash with existing constants (OSX). (Christophe)
Index: types.h
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/include/ntfs/types.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -p -r1.14 -r1.15
--- types.h 3 Nov 2005 19:20:14 -0000 1.14
+++ types.h 22 Feb 2006 14:20:08 -0000 1.15
@@ -85,12 +85,24 @@ typedef sle64 leLSN;
* enum BOOL - These are just to make the code more readable...
*/
typedef enum {
+#ifndef FALSE
FALSE = 0,
+#endif
+#ifndef NO
NO = 0,
+#endif
+#ifndef ZERO
ZERO = 0,
+#endif
+#ifndef TRUE
TRUE = 1,
+#endif
+#ifndef YES
YES = 1,
+#endif
+#ifndef ONE
ONE = 1,
+#endif
} BOOL;
#endif /* defined _WINDEF_H */
|