diff --git a/libntfs-3g/win32_io.c b/libntfs-3g/win32_io.c index 41c43c6b..7e76f638 100644 --- a/libntfs-3g/win32_io.c +++ b/libntfs-3g/win32_io.c @@ -27,9 +27,9 @@ #include "config.h" #ifdef HAVE_WINDOWS_H -#define BOOL WINBOOL /* avoid conflicting definitions of BOOL */ +#define _NO_BOOL_TYPEDEF /* supported by both Cygwin and MinGW-w64's w32api */ #include -#undef BOOL +#undef _NO_BOOL_TYPEDEF #endif #ifdef HAVE_STDLIB_H