Hi,
This patch removes a check that was put for mingw quite some time ago perhaps 
to get the declaration of timespec. But it does not seem valid to me and it 
relies on having pthread.h which is generally not available for mingw. We are 
now providing a definition for struct timespce in win32.h which can be used for 
mingw case too. I will apply the attached patch if there are no objections.

Thanks,
Abid
Index: include/lldb/Host/TimeValue.h
===================================================================
--- include/lldb/Host/TimeValue.h	(revision 203501)
+++ include/lldb/Host/TimeValue.h	(working copy)
@@ -14,13 +14,7 @@
 #include <stdint.h>
 #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
 // Other libraries and framework includes
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to