summaryrefslogtreecommitdiff
path: root/src/utilities.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/utilities.cc')
-rw-r--r--src/utilities.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utilities.cc b/src/utilities.cc
index 27b2a90..a037480 100644
--- a/src/utilities.cc
+++ b/src/utilities.cc
@@ -233,8 +233,8 @@ bool PidHasChanged() {
}
pid_t GetTID() {
- // On Linux and FreeBSD, we try to use gettid().
-#if defined OS_LINUX || defined OS_FREEBSD || defined OS_MACOSX
+ // On Linux and MacOSX, we try to use gettid().
+#if defined OS_LINUX || defined OS_MACOSX
#ifndef __NR_gettid
#ifdef OS_MACOSX
#define __NR_gettid SYS_gettid
@@ -256,7 +256,7 @@ pid_t GetTID() {
// the value change to "true".
lacks_gettid = true;
}
-#endif // OS_LINUX || OS_FREEBSD
+#endif // OS_LINUX || OS_MACOSX
// If gettid() could not be used, we use one of the following.
#if defined OS_LINUX