summaryrefslogtreecommitdiffstats
path: root/8/platforms/android-9/arch-mips/usr/include/android/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to '8/platforms/android-9/arch-mips/usr/include/android/bitmap.h')
-rw-r--r--8/platforms/android-9/arch-mips/usr/include/android/bitmap.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/8/platforms/android-9/arch-mips/usr/include/android/bitmap.h b/8/platforms/android-9/arch-mips/usr/include/android/bitmap.h
index 160e34a..fabb7f4 100644
--- a/8/platforms/android-9/arch-mips/usr/include/android/bitmap.h
+++ b/8/platforms/android-9/arch-mips/usr/include/android/bitmap.h
@@ -23,11 +23,14 @@
__BEGIN_DECLS
-#define ANDROID_BITMAP_RESUT_SUCCESS 0
+#define ANDROID_BITMAP_RESULT_SUCCESS 0
#define ANDROID_BITMAP_RESULT_BAD_PARAMETER -1
#define ANDROID_BITMAP_RESULT_JNI_EXCEPTION -2
#define ANDROID_BITMAP_RESULT_ALLOCATION_FAILED -3
+/* Backward compatibility: this macro used to be misspelled. */
+#define ANDROID_BITMAP_RESUT_SUCCESS ANDROID_BITMAP_RESULT_SUCCESS
+
enum AndroidBitmapFormat {
ANDROID_BITMAP_FORMAT_NONE = 0,
ANDROID_BITMAP_FORMAT_RGBA_8888 = 1,