diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-07-16 00:58:13 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-07-16 00:58:13 +0900 |
| commit | ba710a7cb4c2a1e6b75ba2a7df2ec03f44a260ab (patch) | |
| tree | d932d9a2afcbc56994719eeee851215a6140dc07 | |
| parent | ad4065ca12057f7ab45d69c3a343ac5901ebeb23 (diff) | |
Define SHUT_WR as SD_SEND for MinGW32
| -rw-r--r-- | src/a2netcompat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/a2netcompat.h b/src/a2netcompat.h index f19efd18..e3008708 100644 --- a/src/a2netcompat.h +++ b/src/a2netcompat.h @@ -107,6 +107,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 { private: |
