summaryrefslogtreecommitdiff
path: root/Remote
diff options
context:
space:
mode:
Diffstat (limited to 'Remote')
-rw-r--r--Remote/S3.hs3
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