path: root/android-config.h
AgeCommit message (Collapse)AuthorFilesLines
2021-11-25v4l-utils: use v4l_getsubopt instead of getsuboptHans Verkuil1-243/+0
Android doesn't have getsubopt at all, and some libc implementations use a getsubopt variant that behaves slightly different. So add a new v4l-getsubopt.h header that either just uses the glibc function (if glibc is detected) or uses a static inline v4l_getsubopt that is copied from glibc. This should avoid such problems. Reported-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2015-04-08libv4l2: Changes for compilation in Android 5.0Benjamin Gaignard1-0/+3
Added Android makefiles for libv4l2 and libv4lconvert. Minor changes to include android-config.h. Changed the plugin loading mechanism to avoid using unsupported glob.h header. Current mechanism supports a list of plugin search paths including /system/lib and /vendor/lib. Signed-off-by: Paramanand Singh <paramanand.singh@linaro.org> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2014-04-11Add static configuration file for Android buildsHans-Christian Egtvedt1-0/+360
This patch adds an android-config.h configuration file that matches the Android toolchain configuration. It also includes an implementation of getsubopt, with the strchrnul dependency, since the Android toolchain does not provide this functionality. Signed-off-by: Hans-Christian Egtvedt <hegtvedt@cisco.com> [hans.verkuil@cisco.com: made functions inline] Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>

Privacy Policy