avoid some build warnings on windows

This commit is contained in:
Joey Hess 2019-09-12 14:11:19 -04:00
parent 42bdaaa5d7
commit 53fd746705
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
6 changed files with 15 additions and 5 deletions

View file

@ -83,5 +83,7 @@ preferredBundledPrograms = catMaybes
-- its kernel, and avoid using them if not available.
]
where
#ifndef mingw32_HOST_OS
ifset True s = Just s
ifset False _ = Nothing
#endif