about summary refs log tree commit diff
path: root/third_party/nix/src/libstore/remote-store.cc
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-30T22·11+0100
committerVincent Ambo <tazjin@google.com>2020-05-30T22·17+0100
commit699ab4e20a252c649339831e7c1b8a028d9fd8e8 (patch)
treebb763cf0c51e9fe295c3fd1be56ef8c925ca2902 /third_party/nix/src/libstore/remote-store.cc
parent91ddc7603d2fa2b59299375adc8a245558a9e811 (diff)
chore(3p/nix): Clean up some unused defines r/872
Diffstat (limited to 'third_party/nix/src/libstore/remote-store.cc')
-rw-r--r--third_party/nix/src/libstore/remote-store.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/third_party/nix/src/libstore/remote-store.cc b/third_party/nix/src/libstore/remote-store.cc
index 5c5038dc41..7570255330 100644
--- a/third_party/nix/src/libstore/remote-store.cc
+++ b/third_party/nix/src/libstore/remote-store.cc
@@ -90,13 +90,7 @@ ref<RemoteStore::Connection> UDSRemoteStore::openConnection() {
   auto conn = make_ref<Connection>();
 
   /* Connect to a daemon that does the privileged work for us. */
-  conn->fd = socket(PF_UNIX,
-                    SOCK_STREAM
-#ifdef SOCK_CLOEXEC
-                        | SOCK_CLOEXEC
-#endif
-                    ,
-                    0);
+  conn->fd = socket(PF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0);
   if (!conn->fd) {
     throw SysError("cannot create Unix domain socket");
   }