[Lldb-commits] [lldb] r124879 - /lldb/trunk/include/lldb/Host/TimeValue.h
Greg Clayton
gclayton at apple.com
Fri Feb 4 10:09:50 PST 2011
Author: gclayton
Date: Fri Feb 4 12:09:50 2011
New Revision: 124879
URL: http://llvm.org/viewvc/llvm-project?rev=124879&view=rev
Log:
MinGW patch from Kirk Beitz.
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=124879&r1=124878&r2=124879&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Host/TimeValue.h (original)
+++ lldb/trunk/include/lldb/Host/TimeValue.h Fri Feb 4 12:09:50 2011
@@ -14,6 +14,12 @@
#include <stdint.h>
#include <sys/time.h>
+// BEGIN: MinGW work around
+#if !defined(_STRUCT_TIMESPEC) && !defined(HAVE_STRUCT_TIMESPEC)
+#include <pthread.h>
+#endif
+// END: MinGW work around
+
// C++ Includes
// Other libraries and framework includes
// Project includes
More information about the lldb-commits
mailing list