AddressSanitizer: don't include pthread.h in asan_interceptors.cc on Linux

llvm-svn: 150573
This commit is contained in:
Alexey Samsonov 2012-02-15 09:14:26 +00:00
parent dfb45f4d68
commit 1e7e2370aa
1 changed files with 3 additions and 4 deletions

View File

@ -26,17 +26,16 @@
#include <new>
#include <ctype.h>
#ifndef _WIN32
# include <pthread.h>
#else
#if defined(_WIN32)
// FIXME: remove when we start intercepting on Windows. Currently it's needed to
// define memset/memcpy intrinsics.
# include <intrin.h>
#endif
#endif // _WIN32
#if defined(__APPLE__)
// FIXME(samsonov): Gradually replace system headers with declarations of
// intercepted functions.
#include <pthread.h>
#include <signal.h>
#include <string.h>
#include <strings.h>