summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perform/iopipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perform/iopipe.c b/perform/iopipe.c
index 704637e..200ee7e 100644
--- a/perform/iopipe.c
+++ b/perform/iopipe.c
@@ -147,8 +147,8 @@ static void
synchronize (void)
{
#ifdef H5_HAVE_SYSTEM
-#ifdef WIN32
- flushall();
+#if defined(WIN32) && ! defined(__CYGWIN__)
+ _flushall();
#else
HDsystem ("sync");
HDsystem ("df >/dev/null");