summaryrefslogtreecommitdiff
path: root/lib/raidfile
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2014-12-26 23:16:08 +0000
committerChris Wilson <chris+github@qwirx.com>2014-12-26 23:16:08 +0000
commit839a04cea37e9615a0753337ce44780ce84d77fe (patch)
treeb0bdeadbfa6dbd57e6fe3254d36864982bf9edcb /lib/raidfile
parent3431957386a00b0f13875c7e0cf639bf7ba307d8 (diff)
Fix more compile errors on MinGW
Diffstat (limited to 'lib/raidfile')
-rw-r--r--lib/raidfile/RaidFileRead.cpp4
-rw-r--r--lib/raidfile/RaidFileWrite.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/raidfile/RaidFileRead.cpp b/lib/raidfile/RaidFileRead.cpp
index a78ec4a2..1396b4cd 100644
--- a/lib/raidfile/RaidFileRead.cpp
+++ b/lib/raidfile/RaidFileRead.cpp
@@ -44,8 +44,8 @@
#define READ_NUMBER_DISCS_REQUIRED 3
#define READV_MAX_BLOCKS 64
-// We want to use POSIX fstat() for now, not the emulated one
-#undef fstat
+// We want to use POSIX fstat() for now, not the emulated one, because it's
+// difficult to rewrite all this code to use HANDLEs instead of ints.
// --------------------------------------------------------------------------
//
diff --git a/lib/raidfile/RaidFileWrite.cpp b/lib/raidfile/RaidFileWrite.cpp
index ddc99fc7..f06a2472 100644
--- a/lib/raidfile/RaidFileWrite.cpp
+++ b/lib/raidfile/RaidFileWrite.cpp
@@ -42,8 +42,8 @@
// Must have this number of discs in the set
#define TRANSFORM_NUMBER_DISCS_REQUIRED 3
-// we want to use POSIX fstat() for now, not the emulated one
-#undef fstat
+// We want to use POSIX fstat() for now, not the emulated one, because it's
+// difficult to rewrite all this code to use HANDLEs instead of ints.
// --------------------------------------------------------------------------
//