diff options
author | chromium@hybridsource.org <chromium@hybridsource.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-25 04:54:41 +0000 |
---|---|---|
committer | chromium@hybridsource.org <chromium@hybridsource.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-25 04:54:41 +0000 |
commit | 94f8c957011e0d1f9a28607a05066edc2989eaa2 (patch) | |
tree | 0eab7b490ecb89c4e87bfe2da00579c09bd6c2bf /base/threading/platform_thread_posix.cc | |
parent | 9a039aead5c77431a21db52692970a0d3e63f1fc (diff) | |
download | chromium_src-94f8c957011e0d1f9a28607a05066edc2989eaa2.zip chromium_src-94f8c957011e0d1f9a28607a05066edc2989eaa2.tar.gz chromium_src-94f8c957011e0d1f9a28607a05066edc2989eaa2.tar.bz2 |
Patch for Solaris support, mostly ifdefs and header files, plus adds libevent configuration.
BUG=30101
TEST=compiles
Review URL: http://codereview.chromium.org/7238021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90494 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/threading/platform_thread_posix.cc')
-rw-r--r-- | base/threading/platform_thread_posix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/threading/platform_thread_posix.cc b/base/threading/platform_thread_posix.cc index 526e782..497acb5 100644 --- a/base/threading/platform_thread_posix.cc +++ b/base/threading/platform_thread_posix.cc @@ -127,7 +127,7 @@ PlatformThreadId PlatformThread::CurrentId() { #elif defined(OS_FREEBSD) // TODO(BSD): find a better thread ID return reinterpret_cast<int64>(pthread_self()); -#elif defined(OS_NACL) +#elif defined(OS_NACL) || defined(OS_SOLARIS) return pthread_self(); #endif } |