summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-12-17 08:01:36 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2012-12-17 08:01:36 +0800
commit370980c52867864e1b0acd9f132e527fb6b2adee (patch)
tree3d7b26330b4ebd34415f07fd59c1daeb092ceda1 /include
parentacfcd62aa9300087d3e8cca79e59b0abdcaaee35 (diff)
downloadframeworks_native-370980c52867864e1b0acd9f132e527fb6b2adee.zip
frameworks_native-370980c52867864e1b0acd9f132e527fb6b2adee.tar.gz
frameworks_native-370980c52867864e1b0acd9f132e527fb6b2adee.tar.bz2
Fix build
Change-Id: Ie011cbf74a08f760ccd93ca37fa2b437b7063462
Diffstat (limited to 'include')
-rw-r--r--include/android/bitmap.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/android/bitmap.h b/include/android/bitmap.h
index 5078277..6e18763 100644
--- a/include/android/bitmap.h
+++ b/include/android/bitmap.h
@@ -24,11 +24,14 @@
extern "C" {
#endif
-#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,