Enumerations are compatible if their type definitions match.