mirror of https://github.com/aria2/aria2
Define SHUT_WR as SD_SEND for MinGW32
parent
ad4065ca12
commit
ba710a7cb4
|
@ -106,6 +106,12 @@
|
|||
|
||||
#define DEFAULT_AI_FLAGS AI_ADDRCONFIG
|
||||
|
||||
#ifdef __MINGW32__
|
||||
# ifndef SHUT_WR
|
||||
# define SHUT_WR SD_SEND
|
||||
# endif // !SHUT_WR
|
||||
#endif // __MINGW32__
|
||||
|
||||
#ifdef __MINGW32__
|
||||
template<typename T>
|
||||
class wsaapi_auto_delete {
|
||||
|
|
Loading…
Reference in New Issue