From e16bcd08aae85a7d9c2de5a4b1c733280cb81112 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 13 May 2018 00:08:52 +0200 Subject: Remove MOZ_WIDGET_GONK [2/2] Tag #288 --- mozglue/build/BionicGlue.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'mozglue/build/BionicGlue.cpp') diff --git a/mozglue/build/BionicGlue.cpp b/mozglue/build/BionicGlue.cpp index 208fcce68..9277f1e76 100644 --- a/mozglue/build/BionicGlue.cpp +++ b/mozglue/build/BionicGlue.cpp @@ -64,22 +64,7 @@ private: static std::vector > atfork; #endif -#ifdef MOZ_WIDGET_GONK -#include "cpuacct.h" - -#if ANDROID_VERSION < 17 || defined(MOZ_WIDGET_ANDROID) -extern "C" NS_EXPORT int -timer_create(clockid_t, struct sigevent*, timer_t*) -{ - __android_log_print(ANDROID_LOG_ERROR, "BionicGlue", "timer_create not supported!"); - abort(); - return -1; -} -#endif - -#else #define cpuacct_add(x) -#endif #if ANDROID_VERSION < 17 || defined(MOZ_WIDGET_ANDROID) extern "C" NS_EXPORT int @@ -140,7 +125,6 @@ raise(int sig) } /* Flash plugin uses symbols that are not present in Android >= 4.4 */ -#ifndef MOZ_WIDGET_GONK namespace android { namespace VectorImpl { NS_EXPORT void reservedVectorImpl1(void) { } @@ -153,5 +137,4 @@ namespace android { NS_EXPORT void reservedVectorImpl8(void) { } } } -#endif -- cgit v1.2.3