From 0ddf6be1030a18d826a3c2e6ae9b2c1a6080d617 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 4 Nov 2011 03:42:38 +0000 Subject: [PATCH] Fixed a build issue on an older Xcode. llvm-svn: 143679 --- lldb/source/Host/common/Host.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Host/common/Host.cpp b/lldb/source/Host/common/Host.cpp index 280f1977af1a..451a57570a2a 100644 --- a/lldb/source/Host/common/Host.cpp +++ b/lldb/source/Host/common/Host.cpp @@ -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