about summary refs log tree commit diff
path: root/src/libstore/s3-binary-cache-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-20T16·46+0100
committerEelco Dolstra <edolstra@gmail.com>2017-03-20T16·46+0100
commit20df50d8e15da7b5d39986a4db533d6c41f0786c (patch)
tree3a57413e932dd166a0b30943924b9692d296930a /src/libstore/s3-binary-cache-store.cc
parentdc931fe1cd6e426bbb8392872a10f3b308ed008a (diff)
parent4fc30922cf00d79bd603ac46255fa73a3c2ee565 (diff)
Merge branch 'darwin-s3-binary-cache-store' of https://github.com/shlevy/nix
Diffstat (limited to 'src/libstore/s3-binary-cache-store.cc')
-rw-r--r--src/libstore/s3-binary-cache-store.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc
index 571bf7dfd801..5a8acfb506ef 100644
--- a/src/libstore/s3-binary-cache-store.cc
+++ b/src/libstore/s3-binary-cache-store.cc
@@ -122,17 +122,6 @@ S3Helper::DownloadResult S3Helper::getObject(
     return res;
 }
 
-#if __linux__
-
-struct istringstream_nocopy : public std::stringstream
-{
-    istringstream_nocopy(const std::string & s)
-    {
-        rdbuf()->pubsetbuf(
-            (char *) s.data(), s.size());
-    }
-};
-
 struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore
 {
     std::string bucketName;
@@ -344,8 +333,6 @@ static RegisterStoreImplementation regStore([](
     return store;
 });
 
-#endif
-
 }
 
 #endif