Commits

Anonymous committed e46013f

Fix warning when compiling socketmodule.c with VS2010
VS2010 defineds the old errno constants in addition to the WSA* ones.

  • Participants
  • Parent commits 10fcaf5

Comments (0)

Files changed (1)

File Modules/socketmodule.c

 #endif
 
 #ifdef MS_WIN32
+#undef EAFNOSUPPORT
 #define EAFNOSUPPORT WSAEAFNOSUPPORT
 #define snprintf _snprintf
 #endif