From 083aac380ca3807db1aaf8f6d7e263e0195a967e Mon Sep 17 00:00:00 2001 From: !uv Date: Fri, 20 Aug 2004 12:04:47 +0000 Subject: [PATCH] Resolve #include collusions by using #ifndef. (Logical change 1.506) --- include/ntfs/types.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/ntfs/types.h b/include/ntfs/types.h index 8b1ac35f..58687d7d 100644 --- a/include/ntfs/types.h +++ b/include/ntfs/types.h @@ -59,6 +59,11 @@ typedef s64 LCN; */ typedef s64 LSN; +/* + * Cygwin has a collusion between our BOOL and 's + * As long as this file will be included after were fine. + */ +#ifndef _WINDEF_H /* * These are just to make the code more readable... */ @@ -70,6 +75,7 @@ typedef enum { YES = 1, ONE = 1, } BOOL; +#endif /* defined _WINDEF_H */ typedef enum { CASE_SENSITIVE = 0,