[Lldb-commits] [lldb] r203555 - Removed code that conditionally included pthread.h for mingw.

Hafiz Abid Qadeer hafiz_abid at mentor.com
Tue Mar 11 02:50:36 PDT 2014


Author: abidh
Date: Tue Mar 11 04:50:36 2014
New Revision: 203555

URL: http://llvm.org/viewvc/llvm-project?rev=203555&view=rev
Log:
Removed code that conditionally included pthread.h for mingw.
This header is generally not available on mingw and can cause build errors.
The windows host code does provide timespec definition that can be used for
mingw case.

Modified:
    lldb/trunk/include/lldb/Host/TimeValue.h

Modified: lldb/trunk/include/lldb/Host/TimeValue.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Host/TimeValue.h?rev=203555&r1=203554&r2=203555&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/TimeValue.h (original)
+++ lldb/trunk/include/lldb/Host/TimeValue.h Tue Mar 11 04:50:36 2014
@@ -15,11 +15,7 @@
 #ifndef _MSC_VER
 #include <sys/time.h>
 
-// BEGIN: MinGW work around
-#if !defined(_STRUCT_TIMESPEC) && !defined(HAVE_STRUCT_TIMESPEC)
-#include <pthread.h>
-#endif
-// END: MinGW work around
+
 #endif
 
 // C++ Includes





More information about the lldb-commits mailing list