summaryrefslogtreecommitdiff
path: root/system/framework/WeakPtr.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/framework/WeakPtr.h')
-rw-r--r--system/framework/WeakPtr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/framework/WeakPtr.h b/system/framework/WeakPtr.h
index 477c56bbf..a3164c3f8 100644
--- a/system/framework/WeakPtr.h
+++ b/system/framework/WeakPtr.h
@@ -99,7 +99,7 @@
// b. switch to POSIX-based threading in MinGW with pthread emulation
// c. refactor it to not use std::thread
-#if !defined(__MINGW32__) && (defined(DEBUG) || (defined(NIGHTLY_BUILD) && !defined(MOZ_PROFILING)))
+#if !defined(__MINGW32__) && defined(DEBUG)
#include <thread>
#define MOZ_WEAKPTR_DECLARE_THREAD_SAFETY_CHECK \