From 41824ce2bffef9c4b37beaddccdc039b45a8d72e Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Fri, 9 Dec 2011 14:31:02 +0100 Subject: [PATCH] Fix compile issues on debian ports for GNU Hurd and Linux for s390. --- src/system.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/system.h b/src/system.h index 83a6455..a3f230b 100644 --- a/src/system.h +++ b/src/system.h @@ -164,6 +164,10 @@ #define OPSYS "Haiku" #endif +#if defined(__GNU__) +#define OPSYS "Hurd" +#endif + /* Detect CPUs */ #if defined(__alpha__) || defined(__alpha) #define CPUINFO "Alpha" @@ -209,6 +213,10 @@ #define CPUINFO "SuperH" #endif +#if defined(__s390__) || defined(__s390x__) +#define CPUINFO "s390" +#endif + /* Misc */ #ifdef MSG_NOSIGNAL #define UHUB_SEND_SIGNAL MSG_NOSIGNAL