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.

llvm-svn: 203555
This commit is contained in:
Hafiz Abid Qadeer 2014-03-11 09:50:36 +00:00
parent 6c336fa5a7
commit cd7bdbbba2
1 changed files with 1 additions and 5 deletions

View File

@ -15,11 +15,7 @@
#ifndef _MSC_VER #ifndef _MSC_VER
#include <sys/time.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
#endif #endif
// C++ Includes // C++ Includes