configure.in: Remove CYGWIN definition; we will use the
automatically defined __CYGWIN__ instead.
diff --git a/lib/ext2fs/unix_io.c b/lib/ext2fs/unix_io.c
index aa9ff14..ae498da 100644
--- a/lib/ext2fs/unix_io.c
+++ b/lib/ext2fs/unix_io.c
@@ -94,7 +94,7 @@
unix_read_blk,
unix_write_blk,
unix_flush,
-#ifdef CYGWIN
+#ifdef __CYGWIN__
0
#else
unix_write_byte
@@ -106,7 +106,7 @@
/*
* Here are the raw I/O functions
*/
-#ifndef CYGWIN
+#ifndef __CYGWIN__
static errcode_t raw_read_blk(io_channel channel,
struct unix_private_data *data,
unsigned long block,
@@ -139,7 +139,7 @@
size, actual, retval);
return retval;
}
-#else /* CYGWIN */
+#else /* __CYGWIN__ */
/*
* Windows block devices only allow sector alignment IO in offset and size
*/