diff options
author | Brian Smith <brian@briansmith.org> | 2015-01-29 03:20:02 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-01-31 03:18:55 +0300 |
commit | efed2210e8e0c6b3db6c63e354f0c9b67673c712 (patch) | |
tree | c13b45b9da0de9ac923e8f972cf3616ed02bb1d5 /tool/transport_common.cc | |
parent | 0bb81fcd66609967b35ef1074d865716520f1dd4 (diff) |
Enable more warnings & treat warnings as errors on Windows.
Change-Id: I2bf0144aaa8b670ff00b8e8dfe36bd4d237b9a8a
Reviewed-on: https://boringssl-review.googlesource.com/3140
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'tool/transport_common.cc')
-rw-r--r-- | tool/transport_common.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tool/transport_common.cc b/tool/transport_common.cc index 0f48703c..453ff5e3 100644 --- a/tool/transport_common.cc +++ b/tool/transport_common.cc @@ -32,11 +32,12 @@ #else #define NOMINMAX #include <io.h> +#pragma warning(push, 3) #include <WinSock2.h> #include <WS2tcpip.h> +#pragma warning(pop) + typedef int ssize_t; -#define read _read -#define write _write #pragma comment(lib, "Ws2_32.lib") #endif |