commit | dd390faa2fcb49ce0e0ebc6ef180118ec370f957 | [log] [tgz] |
---|---|---|
author | Ryan Prichard <rprichard@google.com> | Thu Aug 31 01:32:07 2023 -0700 |
committer | Ryan Prichard <rprichard@google.com> | Thu Aug 31 19:32:59 2023 -0700 |
tree | 59231d546edb54eb29cd4288f3fdf2620fe3392b | |
parent | 925071fa67330e3d1e79429f3a2179ebdfce762d [diff] |
Undefine NAN before defining it again After upgrading libc++, math.h happens to be included at the point where this file tries to define NAN. Redefining a macro to a different value is an error, but #undef'ing a macro is OK even if the macro isn't actually defined. Bug: b/175635923 Test: treehugger Change-Id: Ie8e3e87189bcd7ed8fccccfc0a79e04a5bfda16b