summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2015-10-22 14:48:50 -0700
committerNick Kralevich <nnk@google.com>2015-10-22 14:50:53 -0700
commit778b6f4902ad824d5fc62071caaa837bb47deee5 (patch)
tree485151f47216ed0171ce4339bc5a161fce89db1b
parent834ac204ce52d874cdd7ae921e5a4d85c5e42c52 (diff)
downloadframeworks_native-778b6f4902ad824d5fc62071caaa837bb47deee5.zip
frameworks_native-778b6f4902ad824d5fc62071caaa837bb47deee5.tar.gz
frameworks_native-778b6f4902ad824d5fc62071caaa837bb47deee5.tar.bz2
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
-rw-r--r--include/input/Input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/input/Input.h b/include/input/Input.h
index f8075e4..44e4027 100644
--- a/include/input/Input.h
+++ b/include/input/Input.h
@@ -85,7 +85,7 @@ enum {
/*
* 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.