diff options
author | Prabir Pradhan <prabirmsp@google.com> | 2021-08-18 08:49:49 -0700 |
---|---|---|
committer | Prabir Pradhan <prabirmsp@google.com> | 2021-08-27 11:04:36 +0000 |
commit | 2dd55590fd09ad506680b4888b4cf19f09d3eccc (patch) | |
tree | 95401f662bd95aede9db40bf315066c2939486ac /identity/support/src/cppbor_parse.cpp | |
parent | 80087ce6c41d08c384d85286d1d6d8e583b096df (diff) |
Undefine NAN after including it in Looper.h
Looper.h needs to include the header for unordered_map, which itself
includes math.h, which defines the macro NAN. Some HALs use enums called
NAN, which causes a build error if the NAN macro is defined. We need to
undef NAN in these cases after including Looper.h.
Bug: 195020232
Test: presubmit: checkbuild
Merged-In: I63bba8ea809a12571ddc88cd1d20f2adeedf0b30
Change-Id: I63bba8ea809a12571ddc88cd1d20f2adeedf0b30
(cherry picked from commit dda604440bd546c041106624c37dda4569420b9d)
(cherry picked from commit 84a19f64f5fd2786a96b85fc5db88c1be82b6b0c)
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions