src: bring permissions macros in line with general C/C++ standards · nodejs/node@6417dc8 · GitHub
Skip to content

Commit 6417dc8

Browse files
addaleaxRafaelGSS
authored andcommitted
src: bring permissions macros in line with general C/C++ standards
Specifically, avoid the hazard of unintentionally evaluating an argument multiple times during macro expansion, and do not assume the available of particular namespaces in the current scope. PR-URL: #60053 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent 04d568e commit 6417dc8

2 files changed

Lines changed: 45 additions & 7 deletions

File tree

src/node_report.cc

Lines changed: 1 addition & 1 deletion

src/permission/permission.h

Lines changed: 44 additions & 6 deletions

0 commit comments

Comments
 (0)