summaryrefslogtreecommitdiffstats
path: root/dom/media/gtest/TestMediaUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/gtest/TestMediaUtils.cpp')
-rw-r--r--dom/media/gtest/TestMediaUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/gtest/TestMediaUtils.cpp b/dom/media/gtest/TestMediaUtils.cpp
index 33a32b7ea0..3708f43f01 100644
--- a/dom/media/gtest/TestMediaUtils.cpp
+++ b/dom/media/gtest/TestMediaUtils.cpp
@@ -15,7 +15,7 @@ using namespace mozilla::gtest;
using namespace mozilla::media;
// Spawning the death test child process aborts on Android.
-#if !defined(ANDROID)
+#if !defined(ANDROID) && defined(GTEST_HAS_DEATH_TEST)
// Kept here for reference as it can be handy during development.
# define DISABLE_CRASH_REPORTING \