macro support for g++