summaryrefslogtreecommitdiff
path: root/tools/profiler/tasktracer/GeckoTaskTracer.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-05-06 09:24:03 +0000
committerMoonchild <moonchild@palemoon.org>2021-05-06 09:24:03 +0000
commit1f6550b0f8891fd7f3366fe5be12d876cf555c2a (patch)
tree859f6cf99f2e026b76dcc40b27b211154310d16e /tools/profiler/tasktracer/GeckoTaskTracer.cpp
parent942535d38e8dc1ec7834da4e43ccf2a86051e4a3 (diff)
downloaduxp-1f6550b0f8891fd7f3366fe5be12d876cf555c2a.tar.gz
Issue mcp-graveyard/UXP#1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer needed without XP_MACOSX conditionals.
Diffstat (limited to 'tools/profiler/tasktracer/GeckoTaskTracer.cpp')
-rw-r--r--tools/profiler/tasktracer/GeckoTaskTracer.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/profiler/tasktracer/GeckoTaskTracer.cpp b/tools/profiler/tasktracer/GeckoTaskTracer.cpp
index 36d1bffc38..aefcb274ec 100644
--- a/tools/profiler/tasktracer/GeckoTaskTracer.cpp
+++ b/tools/profiler/tasktracer/GeckoTaskTracer.cpp
@@ -1,5 +1,4 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
-/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -26,10 +25,6 @@
#include <unistd.h>
#include <sys/syscall.h>
#define gettid() static_cast<pid_t>(syscall(SYS_gettid))
-#elif defined(XP_MACOSX)
-#include <unistd.h>
-#include <sys/syscall.h>
-#define gettid() static_cast<pid_t>(syscall(SYS_thread_selfid))
#elif defined(LINUX)
#include <sys/types.h>
pid_t gettid();