sxpdefine -> spxdefines for other platform too.