mirror of
https://github.com/RPCS3/hidapi.git
synced 2026-01-31 01:25:21 +01:00
Fix build when targetting Android 7 or later
Support for pthread_barrier was introduced in Android 7, so trying to build a custom implementation of that clashes with the system headers.
This commit is contained in:
committed by
Ihor Dutchak
parent
51bdec7844
commit
90ddfc61b7
@@ -51,7 +51,7 @@
|
||||
|
||||
#include "hidapi.h"
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#if defined(__ANDROID__) && __ANDROID_API__ < __ANDROID_API_N__
|
||||
|
||||
/* Barrier implementation because Android/Bionic don't have pthread_barrier.
|
||||
This implementation came from Brent Priddy and was posted on
|
||||
|
||||
Reference in New Issue
Block a user