mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00

* Use TCP sockets on Windows with custom HANDLE <-> FD translation layer * Get Plasma working on Windows Co-authored-by: Mehrdad <noreply@github.com>
17 lines
464 B
Diff
17 lines
464 B
Diff
diff --git cpp/src/arrow/io/mman.h cpp/src/arrow/io/mman.h
|
|
--- cpp/src/arrow/io/mman.h
|
|
+++ cpp/src/arrow/io/mman.h
|
|
@@ -3,0 +3,3 @@
|
|
+#ifdef _WIN32
|
|
+typedef long long off_t;
|
|
+#endif
|
|
diff --git cpp/src/plasma/protocol.cc cpp/src/plasma/protocol.cc
|
|
--- cpp/src/plasma/protocol.cc
|
|
+++ cpp/src/plasma/protocol.cc
|
|
@@ -760,1 +760,5 @@
|
|
+#ifdef _WIN32
|
|
+ *address = _strdup(message->address()->c_str());
|
|
+#else
|
|
*address = strdup(message->address()->c_str());
|
|
+#endif
|
|
--
|