fix macro usage examples (bug #4579)