chore(3p/nix): Remove some OS X specific defines

This project will be dropping OS X support until the core is simplified.
This commit is contained in:
Vincent Ambo 2020-05-24 00:48:30 +01:00
parent bac38f3c49
commit 10481d2586
9 changed files with 3 additions and 281 deletions

View file

@ -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;