gst: clock: Move Android OS check to the __ANDROID__ macro

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6510>
This commit is contained in:
L. E. Segovia 2024-04-02 09:14:59 -03:00 committed by Nirbheek Chauhan
parent 8f8fc314db
commit 5929829131

View file

@ -251,7 +251,7 @@ gst_futex_cond_broadcast (guint * cond_val)
g_atomic_int_inc (cond_val); g_atomic_int_inc (cond_val);
#if defined(HAVE_FUTEX_TIME64) #if defined(HAVE_FUTEX_TIME64)
#if defined(__BIONIC__) #if defined(__ANDROID__)
if (__builtin_available (android 30, *)) { if (__builtin_available (android 30, *)) {
#else #else
{ {
@ -313,7 +313,7 @@ gst_futex_cond_wait_until (guint * cond_val, GMutex * mutex, gint64 end_time)
*/ */
#if defined(HAVE_FUTEX_TIME64) #if defined(HAVE_FUTEX_TIME64)
#if defined(__BIONIC__) #if defined(__ANDROID__)
if (__builtin_available (android 30, *)) { if (__builtin_available (android 30, *)) {
#else #else
{ {