summaryrefslogtreecommitdiff
path: root/lib/raidfile/RaidFileRead.cpp
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2006-10-16 23:10:08 +0000
committerChris Wilson <chris+github@qwirx.com>2006-10-16 23:10:08 +0000
commitf9bedd322c6f1050a9743d98c747d65f953207b7 (patch)
tree87887c140fc491b21eb17d27f4653f7d948e49e1 /lib/raidfile/RaidFileRead.cpp
parentac19a2d757e850964718a5b3b6fe9032feb20f4d (diff)
Undefine fstat() so that we get the Win32 POSIX version, instead of our
emulated version. Small code cleanup. (refs #3)
Diffstat (limited to 'lib/raidfile/RaidFileRead.cpp')
-rw-r--r--lib/raidfile/RaidFileRead.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/raidfile/RaidFileRead.cpp b/lib/raidfile/RaidFileRead.cpp
index ad040c22..363c638b 100644
--- a/lib/raidfile/RaidFileRead.cpp
+++ b/lib/raidfile/RaidFileRead.cpp
@@ -43,6 +43,9 @@
#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
+
// --------------------------------------------------------------------------
//
// Class