mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
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:
parent
3ce78cf8c1
commit
c021329d0d
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user