Fix build on non-Linux

http://hydra.nixos.org/build/5662914
This commit is contained in:
Eelco Dolstra 2013-08-07 17:26:41 +02:00
parent a583a2bc59
commit 161a2ccf7a

View file

@ -9,8 +9,10 @@
namespace nix { namespace nix {
#if HAVE_SCHED_SETAFFINITY
static bool didSaveAffinity = false; static bool didSaveAffinity = false;
static cpu_set_t savedAffinity; static cpu_set_t savedAffinity;
#endif
void setAffinityTo(int cpu) void setAffinityTo(int cpu)