[xv] add define for legacy_common_support