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

Commit e445740e authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Stop #define'ing __ANDROID_API__."

parents 98186473 0a394793
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
cc_library {
    name: "libflacextractor",
    defaults: ["extractor-defaults"],
    defaults: ["extractor-defaults", "libbinder_ndk_host_user"],

    srcs: ["FLACExtractor.cpp"],

+1 −1
Original line number Diff line number Diff line
cc_library {
    name: "libwavextractor",

    defaults: ["extractor-defaults"],
    defaults: ["extractor-defaults", "libbinder_ndk_host_user"],

    srcs: ["WAVExtractor.cpp"],

+2 −12
Original line number Diff line number Diff line
@@ -40,18 +40,8 @@
#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
#if !defined(__INTRODUCED_IN)
#define __INTRODUCED_IN(__api_level) /* nothing */
#endif

#include "NdkMediaError.h"