Define WSA_FLAG_NO_HANDLE_INHERIT if it's not defined

pull/18060/head
frazenshtein 6 years ago
parent 76e9d1add7
commit 39f562e2b7
  1. 4
      src/core/lib/iomgr/socket_windows.h

@ -32,6 +32,10 @@
#include "src/core/lib/iomgr/closure.h"
#include "src/core/lib/iomgr/iomgr_internal.h"
#ifndef WSA_FLAG_NO_HANDLE_INHERIT
#define WSA_FLAG_NO_HANDLE_INHERIT 0x80
#endif
/* This holds the data for an outstanding read or write on a socket.
The mutex to protect the concurrent access to that data is the one
inside the winsocket wrapper. */

Loading…
Cancel
Save