about summary refs log tree commit diff
path: root/third_party/nix/src/build-remote
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-23T23·48+0100
committerVincent Ambo <tazjin@google.com>2020-05-24T01·13+0100
commit10481d25861f1c25b53cfbd8119199ef2e918f9f (patch)
treee89d668351fa12faa7b1508c2a7a68582d48bf22 /third_party/nix/src/build-remote
parentbac38f3c49db6d9a85ba447d164d35811dfdc8f9 (diff)
chore(3p/nix): Remove some OS X specific defines r/834
This project will be dropping OS X support until the core is simplified.
Diffstat (limited to 'third_party/nix/src/build-remote')
-rw-r--r--third_party/nix/src/build-remote/build-remote.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/third_party/nix/src/build-remote/build-remote.cc b/third_party/nix/src/build-remote/build-remote.cc
index 2802b49ac8ea..04fcf389705d 100644
--- a/third_party/nix/src/build-remote/build-remote.cc
+++ b/third_party/nix/src/build-remote/build-remote.cc
@@ -7,9 +7,6 @@
 #include <tuple>
 
 #include <glog/logging.h>
-#if __APPLE__
-#include <sys/time.h>
-#endif
 
 #include "derivations.hh"
 #include "globals.hh"
@@ -181,11 +178,7 @@ static int _main(int argc, char* argv[]) {
           break;
         }
 
-#if __APPLE__
-        futimes(bestSlotLock.get(), NULL);
-#else
         futimens(bestSlotLock.get(), nullptr);
-#endif
 
         lock = -1;