Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: base/platform_thread.h

Issue 118469: compile on openbsd: mostly ifdefs and missing includes,... (Closed) Base URL:
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.h
--- base/platform_thread.h (revision 17958)
+++ base/platform_thread.h (working copy)
@@ -22,7 +22,7 @@
#elif defined(OS_POSIX)
#include <pthread.h>
typedef pthread_t PlatformThreadHandle;
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_OPENBSD)
#include <unistd.h>
typedef pid_t PlatformThreadId;
#elif defined(OS_MACOSX)

Powered by Google App Engine
This is Rietveld 408576698