Android CTS 7.0 Release 12 (4215243)
Fix build warnings in libevent
cherry-picked from 98da59020d0d01409ff40a0aa362403258d4af90
Fix warnings related to EV_SSIZE_MAX by correctly defining
_EVENT_SIZEOF_SIZE_T, which is the basis for EV_SSIZE_MAX.
This apparently was only broken for 32 bit host builds of libevent.
Apply -Werror to make future warnings fatal.
Bug: 27075012
Test: mmma -j29 external/libevent for aosp_arm-eng and aosp_x86_64-eng
speculatively fixed darwin warnings.
Change-Id: Iceda4de60192784c2cfa59d127c0e74d05056621
3 files changed