summaryrefslogtreecommitdiffstats
path: root/xpcom/glue/nsCRTGlue.cpp
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-22 19:03:00 -0500
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 12:51:25 +0200
commitda15aa0fdf5ec769a0973a00d84f9fa090de0b60 (patch)
treec6f5b8197eac51be855aecdae3b5d97207cdf97e /xpcom/glue/nsCRTGlue.cpp
parent867737dd4b650494404a90b8b99ea959f74462ca (diff)
downloadUXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.tar
UXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.tar.gz
UXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.tar.lz
UXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.tar.xz
UXP-da15aa0fdf5ec769a0973a00d84f9fa090de0b60.zip
Issue #1053 - Remove android support from XPCOM
Diffstat (limited to 'xpcom/glue/nsCRTGlue.cpp')
-rw-r--r--xpcom/glue/nsCRTGlue.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/xpcom/glue/nsCRTGlue.cpp b/xpcom/glue/nsCRTGlue.cpp
index 03c77da2b..4cf68df2e 100644
--- a/xpcom/glue/nsCRTGlue.cpp
+++ b/xpcom/glue/nsCRTGlue.cpp
@@ -22,11 +22,6 @@
#include "mozilla/UniquePtr.h"
#endif
-#ifdef ANDROID
-#include <android/log.h>
-#include <unistd.h>
-#endif
-
using namespace mozilla;
const char*
@@ -365,20 +360,6 @@ vprintf_stderr(const char* aFmt, va_list aArgs)
fclose(fp);
}
-
-#elif defined(ANDROID)
-void
-vprintf_stderr(const char* aFmt, va_list aArgs)
-{
- if (sStderrCallback) {
- va_list argsCpy;
- VARARGS_ASSIGN(argsCpy, aArgs);
- sStderrCallback(aFmt, aArgs);
- va_end(argsCpy);
- }
-
- __android_log_vprint(ANDROID_LOG_INFO, "Gecko", aFmt, aArgs);
-}
#else
void
vprintf_stderr(const char* aFmt, va_list aArgs)