From 94f8c957011e0d1f9a28607a05066edc2989eaa2 Mon Sep 17 00:00:00 2001 From: "chromium@hybridsource.org" Date: Sat, 25 Jun 2011 04:54:41 +0000 Subject: 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 --- base/threading/platform_thread_posix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/threading/platform_thread_posix.cc') 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(pthread_self()); -#elif defined(OS_NACL) +#elif defined(OS_NACL) || defined(OS_SOLARIS) return pthread_self(); #endif } -- cgit v1.1