build-remote: Use futimes instead of futimens on APPLE

This commit is contained in:
Shea Levy 2017-01-24 06:22:02 -05:00
parent e5641dfe1e
commit 3b4a15bd48

View file

@ -5,6 +5,9 @@
#include <memory>
#include <tuple>
#include <iomanip>
if __APPLE__
#include <sys/time.h>
#endif
#include "shared.hh"
#include "pathlocks.hh"
@ -225,7 +228,11 @@ int main (int argc, char * * argv)
break;
}
#if __APPLE__
futimes(bestSlotLock.get(), NULL);
#else
futimens(bestSlotLock.get(), NULL);
#endif
lock = -1;