Fix compile issues on debian ports for GNU Hurd and Linux for s390.

This commit is contained in:
Jan Vidar Krey 2011-12-09 14:31:02 +01:00
parent 65c2652a22
commit 41824ce2bf
1 changed files with 8 additions and 0 deletions

View File

@ -164,6 +164,10 @@
#define OPSYS "Haiku" #define OPSYS "Haiku"
#endif #endif
#if defined(__GNU__)
#define OPSYS "Hurd"
#endif
/* Detect CPUs */ /* Detect CPUs */
#if defined(__alpha__) || defined(__alpha) #if defined(__alpha__) || defined(__alpha)
#define CPUINFO "Alpha" #define CPUINFO "Alpha"
@ -209,6 +213,10 @@
#define CPUINFO "SuperH" #define CPUINFO "SuperH"
#endif #endif
#if defined(__s390__) || defined(__s390x__)
#define CPUINFO "s390"
#endif
/* Misc */ /* Misc */
#ifdef MSG_NOSIGNAL #ifdef MSG_NOSIGNAL
#define UHUB_SEND_SIGNAL MSG_NOSIGNAL #define UHUB_SEND_SIGNAL MSG_NOSIGNAL