Move macro definition above function definitions that use it.