add Avian_java_util_concurrent_atomic_AtomicLong_VMSupportsCS8

Android's class library uses this to find out whether the VM supports
compareAndSwapLong natively.  Avian does on all platforms, so we just
return true.
This commit is contained in:
Joel Dice 2014-02-24 14:16:40 -07:00
parent 3ce78cf8c1
commit c021329d0d

View File

@ -2300,6 +2300,13 @@ Avian_java_lang_System_mapLibraryName
t->m->system->librarySuffix()));
}
extern "C" AVIAN_EXPORT int64_t JNICALL
Avian_java_util_concurrent_atomic_AtomicLong_VMSupportsCS8
(Thread*, object, uintptr_t*)
{
return true;
}
#ifdef PLATFORM_WINDOWS
# include <io.h>