2013-09-26 17:14:40 +02:00

22 lines
570 B
Plaintext

$NetBSD: patch-ab,v 1.4 2008/03/08 08:56:47 adam Exp $
--- include/ntfs/types.h.orig 2007-09-26 20:28:40.000000000 +0200
+++ include/ntfs/types.h
@@ -86,6 +86,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