aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2016-12-08 15:35:46 +0100
committerEelco Dolstra <edolstra@gmail.com>2016-12-08 15:35:46 +0100
commitfe1162a8051194bc6e741408c5feb45ed1be18d8 (patch)
treedba01ae028827a2b4544255ce8d95f99ec4b92ef
parente6a61b8da788efbbbb0eb690c49434b6b5fc9741 (diff)
S3BinaryCacheStore: Ensure it only builds on Linux
-rw-r--r--src/libstore/s3-binary-cache-store.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc
index 3c5101f00..5361bd9da 100644
--- a/src/libstore/s3-binary-cache-store.cc
+++ b/src/libstore/s3-binary-cache-store.cc
@@ -1,6 +1,7 @@
#include "config.h"
#if ENABLE_S3
+#if __linux__
#include "s3-binary-cache-store.hh"
#include "nar-info.hh"
@@ -269,3 +270,4 @@ static RegisterStoreImplementation regStore([](
}
#endif
+#endif