add pretty function macro in defines