Hi, 2012/8/17 Daniel Charles <daniel.char...@intel.com>: > +#ifdef ANDROID_PRE_JB > #include <surfaceflinger/ISurfaceComposer.h> > #include <surfaceflinger/Surface.h> > #include <surfaceflinger/ISurface.h> > #include <surfaceflinger/SurfaceComposerClient.h> > +#elif ANDROID_JB > +#include <gui/ISurfaceComposer.h> > +#include <gui/Surface.h> > +#include <gui/ISurface.h> > +#include <gui/SurfaceComposerClient.h> > +#endif > #include <binder/MemoryHeapBase.h>
I would prefer a more generic ANDROID_CHECK_VERSION() macro. e.g. #if ANDROID_CHECK_VERSION(4,1,0) ... #else ... #endif by probably decomposing PLATFORM_VERSION into major/minor/micro. Thanks, Gwenole. _______________________________________________ Libva mailing list Libva@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libva