diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-10-11 10:57:20 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-10-11 10:57:20 -0400 |
commit | 148aebe3ff9e4953a4800aa0301c8c6038587ed0 (patch) | |
tree | 10cf8a8c6484952063f5b1c2cf29d6a1233c0879 /Remote | |
parent | 4b3bba02fe0658c95f5003dc7e59af3bc8fcffe3 (diff) |
Fix build with aws-0.17.
This commit was sponsored by Denis Dzyubenko on Patreon.
Diffstat (limited to 'Remote')
-rw-r--r-- | Remote/S3.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Remote/S3.hs b/Remote/S3.hs index 5e76b9810..5b100eb1a 100644 --- a/Remote/S3.hs +++ b/Remote/S3.hs @@ -497,6 +497,9 @@ withS3HandleMaybe c gc u a = do Just creds -> do awscreds <- liftIO $ genCredentials creds let awscfg = AWS.Configuration AWS.Timestamp awscreds debugMapper +#ifdef MIN_VERSION_aws(0,11,0) + Nothing +#endif bracketIO (newManager managerSettings) closeManager $ \mgr -> a $ Just $ S3Handle mgr awscfg s3cfg Nothing -> a Nothing |