commit | 310052c1f0992ac7063307f4cbcc26fbc54d3e6b | [log] [tgz] |
---|---|---|
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | Sat Mar 31 13:35:00 2012 +0000 |
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | Sat Mar 31 13:35:00 2012 +0000 |
tree | eb878132bb679e2120950229203fabcdcaf94c5d | |
parent | d4bb972839143be004673bfa788739d1c1bfd49d [diff] |
Fix warning when compiling socketmodule.c with VS2010 VS2010 defineds the old errno constants in addition to the WSA* ones.
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index df1c9f9..d741d2c 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c
@@ -390,6 +390,7 @@ #endif #ifdef MS_WIN32 +#undef EAFNOSUPPORT #define EAFNOSUPPORT WSAEAFNOSUPPORT #define snprintf _snprintf #endif