use prototype for __clear_cache across all linux-arm systems, not just android

This commit is contained in:
Joshua Warner 2014-08-19 08:53:21 -06:00
parent 298eb8f13b
commit 5210cbaa54

View File

@ -130,7 +130,7 @@ inline void loadMemoryBarrier()
#if !defined(AVIAN_AOT_ONLY) #if !defined(AVIAN_AOT_ONLY)
#if defined(__ANDROID__) #if defined(__ANDROID__) || defined(__linux__)
// http://code.google.com/p/android/issues/detail?id=1803 // http://code.google.com/p/android/issues/detail?id=1803
extern "C" void __clear_cache(void* beg __attribute__((__unused__)), extern "C" void __clear_cache(void* beg __attribute__((__unused__)),
void* end __attribute__((__unused__))); void* end __attribute__((__unused__)));