fix build with bionic c

This commit is contained in:
tarsin
2022-03-04 09:28:18 +08:00
parent 9f3c4123a2
commit 187b2bbc68
2 changed files with 6 additions and 1 deletions

View File

@@ -8,6 +8,11 @@
#define TEST_SHARED_MEMORY
#endif //_WIN32
//Shmem not available on target api < 26
#if defined(__ANDROID_API__) && (__ANDROID_API__ < 26)
#undef TEST_SHARED_MEMORY
#endif //__ANDROID__
#include <stddef.h>
#ifdef TEST_SHARED_MEMORY