[Lldb-commits] [lldb] r195403 - #include <AvailabilityMacros.h> if you want to use them. This was causing us to skip

Jim Ingham jingham at apple.com
Thu Nov 21 16:51:36 PST 2013


Author: jingham
Date: Thu Nov 21 18:51:36 2013
New Revision: 195403

URL: http://llvm.org/viewvc/llvm-project?rev=195403&view=rev
Log:
#include <AvailabilityMacros.h> if you want to use them.  This was causing us to skip
the code that should have set thread names on Mac OS X.

<rdar://problem/15517264>

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=195403&r1=195402&r2=195403&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/Host.cpp (original)
+++ lldb/trunk/source/Host/common/Host.cpp Thu Nov 21 18:51:36 2013
@@ -34,6 +34,7 @@
 #include <mach/mach_port.h>
 #include <mach/mach_init.h>
 #include <mach-o/dyld.h>
+#include <AvailabilityMacros.h>
 #endif
 
 #if defined (__linux__) || defined (__FreeBSD__) || defined (__FreeBSD_kernel__)





More information about the lldb-commits mailing list