Howdy.
All mammals' and birds' sexes are determined by genetics. Some reptiles' sexes can be determined by temperature. See this article for an explanation.
http://www.scientificamerican.com/article.cfm?id=experts-temperature-sex-determination-reptiles