forked from OSchip/llvm-project
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:
parent
6c336fa5a7
commit
cd7bdbbba2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue