Browse Source

Remove unused function getWin32Handle

Nils Maier 11 years ago
parent
commit
a0f275a9f1
1 changed files with 0 additions and 9 deletions
  1. 0 9
      src/AbstractDiskWriter.cc

+ 0 - 9
src/AbstractDiskWriter.cc

@@ -229,15 +229,6 @@ int openFileWithFlags(const std::string& filename, int flags,
 #endif // !__MINGW32__
 #endif // !__MINGW32__
 } // namespace
 } // namespace
 
 
-#ifdef __MINGW32__
-namespace {
-HANDLE getWin32Handle(int fd)
-{
-  return reinterpret_cast<HANDLE>(_get_osfhandle(fd));
-}
-} // namespace
-#endif // __MINGW32__
-
 void AbstractDiskWriter::openExistingFile(int64_t totalLength)
 void AbstractDiskWriter::openExistingFile(int64_t totalLength)
 {
 {
   int flags = O_BINARY;
   int flags = O_BINARY;