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

Commit f96e7577 authored by Kris Alder's avatar Kris Alder Committed by Gerrit Code Review
Browse files

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

parents 529c9d0a cf69495a
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