@@ -53,7 +53,8 @@ withHandleToHANDLE haskell_handle action =
53 -- Do what the user originally wanted
53 -- Do what the user originally wanted
54 action windows_handle
54 action windows_handle
56−#if !MIN_VERSION_win32(2,5,1)
56+#if MIN_VERSION_win32(2,5,1)
57withStablePtr :: a -> (StablePtr a -> IO b) -> IO b
58withStablePtr :: a -> (StablePtr a -> IO b) -> IO b
58withStablePtr value = bracket (newStablePtr value) freeStablePtr
59withStablePtr value = bracket (newStablePtr value) freeStablePtr