Give bionic's __ANDROID_API__ a more reasonable value.
This matches what frameworks/base does with Build.VERSION and means that bionic's version number will always sort >= than any released version. This should prevent confusion in code that builds both against bionic and the NDK. (Note that <sys/cdefs.h> drags this in, so it's always in the namespace.) Bug: 14613709 Change-Id: I91fb745920e848a6b20f2f5797c0a7d6cde6c032
This commit is contained in:
parent
837abf0466
commit
4aa2e6a32a
@ -25,9 +25,14 @@
|
|||||||
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ANDROID_API_LEVEL_H
|
#ifndef ANDROID_API_LEVEL_H
|
||||||
#define ANDROID_API_LEVEL_H
|
#define ANDROID_API_LEVEL_H
|
||||||
|
|
||||||
#define __ANDROID_API__ 10
|
/*
|
||||||
|
* Magic version number for a current development build, which has
|
||||||
|
* not yet turned into an official release.
|
||||||
|
*/
|
||||||
|
#define __ANDROID_API__ 10000
|
||||||
|
|
||||||
#endif /* ANDROID_API_LEVEL_H */
|
#endif /* ANDROID_API_LEVEL_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user