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
1 changed files with 2 additions and 0 deletions

View File

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