fixed enum delcaration for linux & vs