summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-08 07:10:38 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-12-08 07:10:38 +0000
commit2322a131272f705139fb1e6bbcf1d85a0205e8b0 (patch)
tree955e671a4900baec8f68290207252f37d19d9a3d /win32/win32.c
parenta721bd628ef4ea9846e9395530752ab8e47b4eca (diff)
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index e2799eee23..22f3af9ed9 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1767,7 +1767,7 @@ myfddup (int fd)
void
myfdclose(FILE *fp)
{
-#if !defined __MINGW32__
+#if !defined MSVCRT_THREADS
_free_osfhnd(fileno(fp));
#endif
fclose(fp);