Merge "Fixed compilation error #include <android/*h>"
This commit is contained in:
@@ -18,6 +18,8 @@
|
|||||||
#ifndef ANDROID_ASSET_MANAGER_H
|
#ifndef ANDROID_ASSET_MANAGER_H
|
||||||
#define ANDROID_ASSET_MANAGER_H
|
#define ANDROID_ASSET_MANAGER_H
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -18,11 +18,16 @@
|
|||||||
#ifndef ANDROID_RECT_H
|
#ifndef ANDROID_RECT_H
|
||||||
#define ANDROID_RECT_H
|
#define ANDROID_RECT_H
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct ARect {
|
typedef struct ARect {
|
||||||
|
#ifdef __cplusplus
|
||||||
|
typedef int32_t value_type;
|
||||||
|
#endif
|
||||||
int32_t left;
|
int32_t left;
|
||||||
int32_t top;
|
int32_t top;
|
||||||
int32_t right;
|
int32_t right;
|
||||||
|
|||||||
Reference in New Issue
Block a user