30-03-2017, 08:01 AM
Your example is compliant with rule 2.5. The #ifndef HEADER_H is considered to be a use of the macro name, even though it appears before the #define.
Posted by and on behalf of the MISRA C Working Group