Index: base/platform_thread.h |
=================================================================== |
--- base/platform_thread.h (revision 24732) |
+++ base/platform_thread.h (working copy) |
@@ -22,12 +22,12 @@ |
#elif defined(OS_POSIX) |
#include <pthread.h> |
typedef pthread_t PlatformThreadHandle; |
-#if defined(OS_LINUX) |
+#if defined(OS_MACOSX) |
+#include <mach/mach.h> |
+typedef mach_port_t PlatformThreadId; |
+#else // OS_POSIX && !OS_MACOSX |
#include <unistd.h> |
typedef pid_t PlatformThreadId; |
-#elif defined(OS_MACOSX) |
-#include <mach/mach.h> |
-typedef mach_port_t PlatformThreadId; |
#endif |
#endif |