diff options
author | Prabir Pradhan <prabirmsp@google.com> | 2021-08-18 08:49:49 -0700 |
---|---|---|
committer | Prabir Pradhan <prabirmsp@google.com> | 2021-08-24 18:40:56 +0000 |
commit | 84a19f64f5fd2786a96b85fc5db88c1be82b6b0c (patch) | |
tree | f9d8e65f5c3f4a40de2c474c6dcb1b1248f51c35 /identity/support/src/cppbor_parse.cpp | |
parent | 87ac35e6165c0e79d2dc394e62d8eba609cca10b (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)
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions