From f9bedd322c6f1050a9743d98c747d65f953207b7 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 16 Oct 2006 23:10:08 +0000 Subject: Undefine fstat() so that we get the Win32 POSIX version, instead of our emulated version. Small code cleanup. (refs #3) --- lib/raidfile/RaidFileRead.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/raidfile/RaidFileRead.cpp') 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 -- cgit v1.2.3