Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: base/platform_thread_posix.cc

Issue 118469: compile on openbsd: mostly ifdefs and missing includes,... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/platform_thread_posix.cc
===================================================================
--- base/platform_thread_posix.cc (revision 17958)
+++ base/platform_thread_posix.cc (working copy)
@@ -35,6 +35,8 @@
return mach_thread_self();
#elif defined(OS_LINUX)
return syscall(__NR_gettid);
+#elif defined(OS_OPENBSD)
+ return (PlatformThreadId)pthread_self();
#endif
}

Powered by Google App Engine
This is Rietveld 408576698