summaryrefslogtreecommitdiff
path: root/sysutils/ntfsprogs/patches/patch-ab
blob: 5baa5f488507f223f306283b7db821a462aa83d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ab,v 1.2 2006/01/26 21:43:51 adam Exp $

--- include/ntfs/types.h.orig	2005-07-09 21:55:23.000000000 +0200
+++ include/ntfs/types.h
@@ -61,6 +61,16 @@ typedef sle64 leVCN;
 typedef s64 LCN;
 typedef sle64 leLCN;
 
+/* XXX For some reason, including sys/mount.h on osx defines TRUE and FALSE
+ * so clear them here.
+ */
+#ifdef FALSE
+#undef FALSE
+#endif
+#ifdef TRUE
+#undef TRUE
+#endif
+
 /*
  * The NTFS journal $LogFile uses log sequence numbers which are signed 64-bit
  * values.  We define our own type LSN, to allow for type checking and better