Skip to content

Commit

Permalink
Fix GHC 8.2 build
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanGlScott committed Jul 29, 2017
1 parent ad5b449 commit 0b14cf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/System/Win32/FileNotify.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,12 @@ faToAction fa = toEnum $ fromEnum fa - 1
-- Defined in System.Win32.File, but with too few cases:
-- type AccessMode = UINT

#if !(MIN_VERSION_Win32(2,4,0))
#{enum AccessMode,
, fILE_LIST_DIRECTORY = FILE_LIST_DIRECTORY
}
-- there are many more cases but I only need this one.
#endif

type FileAction = DWORD

Expand Down

0 comments on commit 0b14cf7

Please sign in to comment.