Remove duplicate macros