commit | 4dcd87fbef1b088713121dc064491efa8c8cab1c | [log] [tgz] |
---|---|---|
author | Ryan Prichard <rprichard@google.com> | Wed Sep 06 18:41:45 2023 -0700 |
committer | Ryan Prichard <rprichard@google.com> | Wed Sep 06 18:42:10 2023 -0700 |
tree | 41b1680c5524d1b4f5ac3bbe969b4989733e8a0c | |
parent | 37fb2fe77dcf2eeff3b4919b531f5241b45cbe16 [diff] |
[RESTRICT AUTOMERGE] 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 Merged-In: Ie8e3e87189bcd7ed8fccccfc0a79e04a5bfda16b