Browse Subversion Repository
Diff of /trunk/ttssh2/ttxssh/ttxssh.h
Parent Directory
| Revision Log
| Patch
| 36 |
|
|
| 37 |
#pragma warning(3 : 4035) |
#pragma warning(3 : 4035) |
| 38 |
|
|
| 39 |
|
/* VS2015(VC14.0)だと、WSASocketA(), inet_ntoa() などのAPIがdeprecatedであると |
| 40 |
|
* 警告するために、警告を抑止する。代替関数に置換すると、VS2005(VC8.0)でビルド |
| 41 |
|
* できなくなるため、警告を抑止するだけとする。 |
| 42 |
|
*/ |
| 43 |
|
#if _MSC_VER >= 1800 // VSC2013(VC12.0) or later |
| 44 |
|
#ifndef _WINSOCK_DEPRECATED_NO_WARNINGS |
| 45 |
|
#define _WINSOCK_DEPRECATED_NO_WARNINGS |
| 46 |
|
#endif |
| 47 |
|
#endif |
| 48 |
|
|
| 49 |
#ifndef NO_INET6 |
#ifndef NO_INET6 |
| 50 |
#include <winsock2.h> |
#include <winsock2.h> |
| 51 |
#include <ws2tcpip.h> |
#include <ws2tcpip.h> |
|
|
Legend:
| Removed from v.6250 |
|
| changed lines |
| |
Added in v.6286 |
|
|
|