Skip to content

Commit

Permalink
Merge pull request #1 from RyanGlScott/master
Browse files Browse the repository at this point in the history
Fix GHC 8.2 build
  • Loading branch information
pepeiborra authored Sep 11, 2017
2 parents 9b82496 + 0b14cf7 commit cb1bde7
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 cb1bde7

Please sign in to comment.