From 5210cbaa5410cfe965e9bf610112c09a9be9300d Mon Sep 17 00:00:00 2001 From: Joshua Warner Date: Tue, 19 Aug 2014 08:53:21 -0600 Subject: [PATCH] use prototype for __clear_cache across all linux-arm systems, not just android --- src/avian/arm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/avian/arm.h b/src/avian/arm.h index f3b86fd256..e44848c924 100644 --- a/src/avian/arm.h +++ b/src/avian/arm.h @@ -130,7 +130,7 @@ inline void loadMemoryBarrier() #if !defined(AVIAN_AOT_ONLY) -#if defined(__ANDROID__) +#if defined(__ANDROID__) || defined(__linux__) // http://code.google.com/p/android/issues/detail?id=1803 extern "C" void __clear_cache(void* beg __attribute__((__unused__)), void* end __attribute__((__unused__)));