Rewording comment :-)

pull/448/head
Nicolas "Pixel" Noble 10 years ago
parent d72ba6a4ff
commit 3d8e34d409
  1. 10
      src/core/iomgr/socket_windows.h

@ -40,11 +40,11 @@
#include <grpc/support/atm.h> #include <grpc/support/atm.h>
typedef struct grpc_winsocket_callback_info { typedef struct grpc_winsocket_callback_info {
/* I hate Microsoft so much. This is supposed to be a WSAOVERLAPPED, /* This is supposed to be a WSAOVERLAPPED, but in order to get that
* but in order to get that definition, we need to include ws2tcpip.h, * definition, we need to include ws2tcpip.h, which needs to be included
* which needs to be included from the top, otherwise it'll clash with * from the top, otherwise it'll clash with a previous inclusion of
* a previous inclusion of windows.h that in turns includes winsock.h. * windows.h that in turns includes winsock.h. If anyone knows a way
* If anyone knows a way to do it properly, feel free to send a patch. * to do it properly, feel free to send a patch.
*/ */
OVERLAPPED overlapped; OVERLAPPED overlapped;
void(*cb)(void *opaque, int success); void(*cb)(void *opaque, int success);

Loading…
Cancel
Save