| Index: base/synchronization/lock_impl.h
|
| diff --git a/base/synchronization/lock_impl.h b/base/synchronization/lock_impl.h
|
| index 42e2f99068b9981d2fff058d96a2ae9f2dd4df4e..20c33757acb0409aa1c3a8faae1bc3d706b06f40 100644
|
| --- a/base/synchronization/lock_impl.h
|
| +++ b/base/synchronization/lock_impl.h
|
| @@ -7,9 +7,7 @@
|
|
|
| #include "build/build_config.h"
|
|
|
| -#if defined(OS_WIN)
|
| -#include <windows.h>
|
| -#elif defined(OS_POSIX)
|
| +#if defined(OS_POSIX)
|
| #include <pthread.h>
|
| #endif
|
|
|
| @@ -24,9 +22,7 @@ namespace internal {
|
| // should instead use Lock.
|
| class BASE_EXPORT LockImpl {
|
| public:
|
| -#if defined(OS_WIN)
|
| - typedef CRITICAL_SECTION NativeHandle;
|
| -#elif defined(OS_POSIX)
|
| +#if defined(OS_POSIX)
|
| typedef pthread_mutex_t NativeHandle;
|
| #endif
|
|
|
|
|