Replace hardcoded constant by an existing macro definition.