DO NOT MERGE: fix build try #2
On klp-dev, UINT16_MAX isn't available unless __STDINT_LIMITS is defined, which it's not for this code. This isn't relevant for later branches due to bionic commit e2a292d278b94fec3d078b1f1b27c1f89942c276 Don't use UINT16_MAX when we can just hardcode 65535. Bug: 23905002 Change-Id: Ia1fd0f749cb7a4d19866075abc28ed6960424e54
This commit is contained in:
parent
834ac204ce
commit
778b6f4902
@ -85,7 +85,7 @@ enum {
|
|||||||
/*
|
/*
|
||||||
* Maximum number of samples supported per motion event.
|
* Maximum number of samples supported per motion event.
|
||||||
*/
|
*/
|
||||||
#define MAX_SAMPLES UINT16_MAX
|
#define MAX_SAMPLES 65535
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Maximum pointer id value supported in a motion event.
|
* Maximum pointer id value supported in a motion event.
|
||||||
|
Loading…
Reference in New Issue
Block a user