Fix linux build after r143679.

llvm-svn: 143703
This commit is contained in:
Benjamin Kramer 2011-11-04 16:06:40 +00:00
parent 91ed25d186
commit 44030f12f1
1 changed files with 3 additions and 2 deletions

View File

@ -440,9 +440,10 @@ Host::GetSignalAsCString (int signo)
case SIGABRT: return "SIGABRT"; // 6 abort()
#if (defined(_POSIX_C_SOURCE) && !defined(_DARWIN_C_SOURCE))
case SIGPOLL: return "SIGPOLL"; // 7 pollable event ([XSR] generated, not supported)
#else // !_POSIX_C_SOURCE
#endif
#if !defined(_POSIX_C_SOURCE)
case SIGEMT: return "SIGEMT"; // 7 EMT instruction
#endif // !_POSIX_C_SOURCE
#endif
case SIGFPE: return "SIGFPE"; // 8 floating point exception
case SIGKILL: return "SIGKILL"; // 9 kill (cannot be caught or ignored)
case SIGBUS: return "SIGBUS"; // 10 bus error