There are quite a few industries that are male-dominated, such as investment banking (which I currently work in to pay for my flying).
It's true that there are some people who have issues with women, but often they have issues with anyone who is different from them. So get along with them if necessary for work, avoid them otherwise
Overall my experience is that if you do your job well then nobody defines you by your gender (or nationality, age, or any of the categories that can be used). If you go out there thinking you are different and you are going to be have issues as a result, you probably will.