summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Handle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Handle.cc b/lib/Handle.cc
index 65935a4..110fcca 100644
--- a/lib/Handle.cc
+++ b/lib/Handle.cc
@@ -319,7 +319,7 @@ void Handle::close() throw (GeneralException) {
}
#if defined (_WIN32) && !defined (NO_HFILE)
if (hFile) {
- CloseHandle(hFile);
+ _close(GetHandle());
hFile = 0;
}
#endif