From 79ac1ae2c61439b4181a481883fb5967f45152fa Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 19 Apr 2004 21:00:18 +0000 Subject: [PATCH] directory flushing doesn't work in windows --- stepmania/src/RageFileDriverDirect.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/RageFileDriverDirect.cpp b/stepmania/src/RageFileDriverDirect.cpp index 95feb72658..f40a624c9a 100644 --- a/stepmania/src/RageFileDriverDirect.cpp +++ b/stepmania/src/RageFileDriverDirect.cpp @@ -203,6 +203,7 @@ bool RageFileObjDirect::FinalFlush() return false; } +#if !defined(WIN32) /* Wait for the directory to be flushed. */ int dirfd = open( Dirname(path), O_RDONLY ); if( dirfd == -1 ) @@ -221,6 +222,7 @@ bool RageFileObjDirect::FinalFlush() } close( dirfd ); +#endif return true; }