[Lldb-commits] [lldb] r143679 - /lldb/trunk/source/Host/common/Host.cpp

Greg Clayton gclayton at apple.com
Thu Nov 3 20:42:38 PDT 2011


Author: gclayton
Date: Thu Nov  3 22:42:38 2011
New Revision: 143679

URL: http://llvm.org/viewvc/llvm-project?rev=143679&view=rev
Log:
Fixed a build issue on an older Xcode.


Modified:
    lldb/trunk/source/Host/common/Host.cpp

Modified: lldb/trunk/source/Host/common/Host.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/Host.cpp?rev=143679&r1=143678&r2=143679&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Thu Nov  3 22:42:38 2011
@@ -438,7 +438,7 @@
     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





More information about the lldb-commits mailing list