Skip to content

sys/syscall.h is not defined on win32 or w64 targets but HAVE_SCHED_AFFINITY...

sys/syscall.h is not defined on win32 or w64 targets but HAVE_SCHED_AFFINITY may well be set (as it was for my colleague, building under cygwin). This simple check is therefore humbly suggested to prevent build errors for some.

Merge request reports