Moved the macro before the function definition