summaryrefslogtreecommitdiffstats
path: root/native/include
diff options
context:
space:
mode:
Diffstat (limited to 'native/include')
-rw-r--r--native/include/android/rect.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/native/include/android/rect.h b/native/include/android/rect.h
index 3e81f53..64d487d 100644
--- a/native/include/android/rect.h
+++ b/native/include/android/rect.h
@@ -23,6 +23,9 @@ extern "C" {
#endif
typedef struct ARect {
+#ifdef __cplusplus
+ typedef int32_t value_type;
+#endif
int32_t left;
int32_t top;
int32_t right;