Fix build for non-linux architectures but still glibc-based
authorMattia Rizzolo <mattia@mapreri.org>
Mon, 16 Oct 2017 22:45:27 +0000 (00:45 +0200)
committerMattia Rizzolo <mattia@mapreri.org>
Mon, 16 Oct 2017 22:45:27 +0000 (00:45 +0200)
commitd026d7dcfb01de3eda1da2e45d23224619ba79e2
tree16a5735305e1a1a50a5692b9125ee6eef86d8040
parent110af09bf9dfe9aadd01e118e750a84460087099
Fix build for non-linux architectures but still glibc-based

Exampls of these are gnu/kfreebsd and gnu/hurd, both available as
unofficial Debian ports.

They don't define __linux__ (as they are non-linux…) but still define
__GLIBC__, so check on that.

Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
modules/core/src/parallel.cpp
modules/core/src/system.cpp