マクロはdo-whileで囲む
from
C言語のマクロを書く
マクロはdo-whileで囲む
do { ... } while (0);
で囲むのは慣例