mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-12 23:12:21 +00:00
6a0ea90a7b
necessary. Only the winsock2.h file (winsock version 2.1) in MSVC 4.2 has the int32 typedef. MinGW's winsock2.h doesn't have that typedef, and current Microsoft winsock2.h doesn't have that either. Also, on Windows, we define int32 as long, which is the same as the int32 typedef in winsock2.h v2.1. MSVC accepts such duplicated typedefs. Thanks to timeless for the research into this problem.