Fixed a build issue on an older Xcode.

llvm-svn: 143679
This commit is contained in:
Greg Clayton 2011-11-04 03:42:38 +00:00
parent dce502ede0
commit 0ddf6be103
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ Host::GetSignalAsCString (int signo)
case SIGILL: return "SIGILL"; // 4 illegal instruction (not reset when caught)
case SIGTRAP: return "SIGTRAP"; // 5 trace trap (not reset when caught)
case SIGABRT: return "SIGABRT"; // 6 abort()
#if defined(_POSIX_C_SOURCE)
#if (defined(_POSIX_C_SOURCE) && !defined(_DARWIN_C_SOURCE))
case SIGPOLL: return "SIGPOLL"; // 7 pollable event ([XSR] generated, not supported)
#else // !_POSIX_C_SOURCE
case SIGEMT: return "SIGEMT"; // 7 EMT instruction