diff options
author | Haru <haru@dotalux.com> | 2014-08-07 14:58:48 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-08-07 14:58:48 +0200 |
commit | c9b2545ebcf50e004c692ce087fc9ba253fcf525 (patch) | |
tree | ce5e09104a37a155e61b1cd125ca42e9596a4ebb /src/common/winapi.h | |
parent | 7c6f45590e10ff0002830418fcff604c90bafb8a (diff) | |
download | hercules-c9b2545ebcf50e004c692ce087fc9ba253fcf525.tar.gz hercules-c9b2545ebcf50e004c692ce087fc9ba253fcf525.tar.bz2 hercules-c9b2545ebcf50e004c692ce087fc9ba253fcf525.tar.xz hercules-c9b2545ebcf50e004c692ce087fc9ba253fcf525.zip |
Fixed some MSVC incompatibilities
- Resolves bugreport:8289
http://hercules.ws/board/tracker/issue-8289-compile-error-vs-2013/
- Disables some winsock-related deprecation warnings.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/winapi.h')
-rw-r--r-- | src/common/winapi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/winapi.h b/src/common/winapi.h index b7c2bea1e..a8a38f30e 100644 --- a/src/common/winapi.h +++ b/src/common/winapi.h @@ -24,6 +24,7 @@ #define _CRT_SECURE_NO_WARNINGS #define _CRT_NONSTDC_NO_WARNINGS +#define _WINSOCK_DEPRECATED_NO_WARNINGS #include <io.h> #include <Windows.h> |