Fixes: #2795 remove non use global macro