blob: 819aaf3b14eecb73d883a2d649c8221a4a6f9163 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- a/include/grpc/event_engine/port.h (index)
+++ b/include/grpc/event_engine/port.h (working tree)
@@ -31,6 +31,13 @@
#include <winsock2.h>
#include <ws2tcpip.h>
// must be included after the above
+
+// For some reason OPTIONAL is not defined and build for window is not OK
+// Let, define it here as empty
+#ifndef OPTIONAL
+#define OPTIONAL
+#endif
+
#include <mswsock.h>
#else
#error UNKNOWN PLATFORM
|