diff options
author | Prabir Pradhan <prabirmsp@google.com> | 2021-08-18 08:49:49 -0700 |
---|---|---|
committer | Prabir Pradhan <prabirmsp@google.com> | 2021-08-18 10:24:55 -0700 |
commit | b99a3ccddfde468cf280fdda4e924c8e22e22d50 (patch) | |
tree | 691a0fcbef68a6a703a2525f38f70c874898d000 /identity/support/src/cppbor_parse.cpp | |
parent | 38fe3c5962a451cfc552f0a23572b10c147ca0df (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
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions