diff options
author | Moonchild <moonchild@palemoon.org> | 2021-10-14 16:57:01 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-01 15:17:54 +0200 |
commit | 28a3cd1028612b3b577768519d11fa6fbcda6f09 (patch) | |
tree | 61a64f843d3bfed644305987dbe1482d7b39c11a /js/src/ds/MemoryProtectionExceptionHandler.cpp | |
parent | f987138760b344a8869e319f28400acc438d0553 (diff) | |
download | uxp-28a3cd1028612b3b577768519d11fa6fbcda6f09.tar.gz |
Issue #1053 - First pass Android defines and remove Android Annotation
processors, some Andoid packaging stuff, Eclipse IDE support et al.
Diffstat (limited to 'js/src/ds/MemoryProtectionExceptionHandler.cpp')
-rw-r--r-- | js/src/ds/MemoryProtectionExceptionHandler.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/js/src/ds/MemoryProtectionExceptionHandler.cpp b/js/src/ds/MemoryProtectionExceptionHandler.cpp index 77df1f0d92..881a0e63d5 100644 --- a/js/src/ds/MemoryProtectionExceptionHandler.cpp +++ b/js/src/ds/MemoryProtectionExceptionHandler.cpp @@ -16,10 +16,6 @@ # include <unistd.h> #endif -#ifdef ANDROID -# include <android/log.h> -#endif - #include "ds/SplayTree.h" #include "threading/LockGuard.h" @@ -125,8 +121,6 @@ ReportCrashIfDebug(const char* aStr) BOOL ret = WriteFile(GetStdHandle(STD_ERROR_HANDLE), aStr, strlen(aStr) + 1, &bytesWritten, nullptr); ::__debugbreak(); -# elif defined(ANDROID) - int ret = __android_log_write(ANDROID_LOG_FATAL, "MOZ_CRASH", aStr); # else ssize_t ret = write(STDERR_FILENO, aStr, strlen(aStr) + 1); # endif |