1. Rename the macro name as all uppercase letters
2. Rewrite the macro in `do { ... } while (0)` instead of `while (1) { ... }`
|
||
|---|---|---|
| .. | ||
| test.h | ||
1. Rename the macro name as all uppercase letters
2. Rewrite the macro in `do { ... } while (0)` instead of `while (1) { ... }`
|
||
|---|---|---|
| .. | ||
| test.h | ||