Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b99f5c4 authored by Kris Alder's avatar Kris Alder Committed by Automerger Merge Worker
Browse files

Merge "NdkMediaFormat.h: Updated to include Android API macros" am: f96e7577...

Merge "NdkMediaFormat.h: Updated to include Android API macros" am: f96e7577 am: 9c846399 am: c9041371 am: a5fd80eb am: 74826796

Change-Id: Ib3c5465a2c6a0a20a1976747334a6780978a0f14
parents f72ed2fc 74826796
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -39,6 +39,20 @@
#include <sys/cdefs.h>
#include <sys/types.h>

#ifndef __ANDROID__
// Value copied from 'bionic/libc/include/android/api-level.h' which is not available on
// non Android systems. It is set to 10000 which is same as __ANDROID_API_FUTURE__ value.
#ifndef __ANDROID_API__
#define __ANDROID_API__ 10000
#endif

// Value copied from 'bionic/libc/include/android/versioning.h' which is not available on
// non Android systems
#ifndef __INTRODUCED_IN
#define __INTRODUCED_IN(api_level)
#endif
#endif

#include "NdkMediaError.h"

__BEGIN_DECLS