diff options
Diffstat (limited to 'libgfortran/io/unix.c')
-rw-r--r-- | libgfortran/io/unix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c index f0cd3b9b16c..afa5f453bd2 100644 --- a/libgfortran/io/unix.c +++ b/libgfortran/io/unix.c @@ -405,6 +405,10 @@ buf_flush (unix_stream * s) if (s->ndirty != 0) return -1; +#ifdef _WIN32 + _commit (s->fd); +#endif + return 0; } |