From fe1162a8051194bc6e741408c5feb45ed1be18d8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 8 Dec 2016 15:35:46 +0100 Subject: S3BinaryCacheStore: Ensure it only builds on Linux --- src/libstore/s3-binary-cache-store.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 -- cgit v1.2.3