aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/grpc
diff options
context:
space:
mode:
authorkikht <kikht@yandex-team.ru>2022-02-10 16:45:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:14 +0300
commit778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/grpc
parent194cae0e8855b11be2005e1eff12c660c3ee9774 (diff)
downloadydb-778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5.tar.gz
Restoring authorship annotation for <kikht@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/grpc')
-rw-r--r--contrib/libs/grpc/src/core/lib/iomgr/sockaddr_windows.h8
-rw-r--r--contrib/libs/grpc/src/core/lib/iomgr/socket_windows.cc8
2 files changed, 8 insertions, 8 deletions
diff --git a/contrib/libs/grpc/src/core/lib/iomgr/sockaddr_windows.h b/contrib/libs/grpc/src/core/lib/iomgr/sockaddr_windows.h
index 0af3f54018..9faebbc254 100644
--- a/contrib/libs/grpc/src/core/lib/iomgr/sockaddr_windows.h
+++ b/contrib/libs/grpc/src/core/lib/iomgr/sockaddr_windows.h
@@ -25,16 +25,16 @@
#ifdef GRPC_WINSOCK_SOCKET
-#define OPTIONAL
-
+#define OPTIONAL
+
#include <winsock2.h>
#include <ws2tcpip.h>
// must be included after the above
#include <mswsock.h>
-#undef OPTIONAL
-
+#undef OPTIONAL
+
typedef struct sockaddr grpc_sockaddr;
typedef struct sockaddr_in grpc_sockaddr_in;
typedef struct in_addr grpc_in_addr;
diff --git a/contrib/libs/grpc/src/core/lib/iomgr/socket_windows.cc b/contrib/libs/grpc/src/core/lib/iomgr/socket_windows.cc
index 417fb83b02..f117653c49 100644
--- a/contrib/libs/grpc/src/core/lib/iomgr/socket_windows.cc
+++ b/contrib/libs/grpc/src/core/lib/iomgr/socket_windows.cc
@@ -22,15 +22,15 @@
#ifdef GRPC_WINSOCK_SOCKET
-#define OPTIONAL
-
+#define OPTIONAL
+
#include <winsock2.h>
// must be included after winsock2.h
#include <mswsock.h>
-#undef OPTIONAL
-
+#undef OPTIONAL
+
#include "y_absl/strings/str_format.h"
#include <grpc/support/alloc.h>