diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2016-12-08T14·35+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2016-12-08T14·35+0100 |
commit | fe1162a8051194bc6e741408c5feb45ed1be18d8 (patch) | |
tree | dba01ae028827a2b4544255ce8d95f99ec4b92ef /src/libstore | |
parent | e6a61b8da788efbbbb0eb690c49434b6b5fc9741 (diff) |
S3BinaryCacheStore: Ensure it only builds on Linux
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/s3-binary-cache-store.cc | 2 |
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 3c5101f0009a..5361bd9da74a 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 |