Change windows bool typedef from int to enum