Original: In this case diploid individuals are generally female, and haploid individuals (which develop from unfertilized eggs) are male.
Simplified: In this case ZZ individuals are male and ZW are female.