diff options
author | Tom Gall <tom.gall@linaro.org> | 2011-09-02 08:40:48 -0500 |
---|---|---|
committer | Tom Gall <tom.gall@linaro.org> | 2011-09-02 08:40:48 -0500 |
commit | b5c2c6f05b5df0ade28bdce9bd0f877783eab569 (patch) | |
tree | 364787a95d81305f5e0f9dbda6023dfd3f5a3eda | |
parent | 29f958a1f73d139a05b914f361fdb25b420db85b (diff) |
when ANDROID is defined, also define ANDROID_RGB, essential for external users such as skia
-rw-r--r-- | jmorecfg.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -11,6 +11,17 @@ * optimizations. Most users will not need to touch this file. */ +/* + * When we're building for android, turn on ANDROID_RGB by default. + * This is needed for components like skia which make use of the + * new encodings defined behind ANDROID_RBG. It's not a reasonable + * config to have ANDROID_RBG off. + */ +#ifdef ANDROID +#ifndef ANDROID_RGB +#define ANDROID_RGB +#endif +#endif /* * Define BITS_IN_JSAMPLE as either |