If errorcount nonzero, don't call abort if the function is already defined.