mirror of
https://github.com/wassname/ray.git
synced 2026-08-17 11:25:34 +08:00
[windows] Work around msgpack issue on PowerPC64LE (#9140)
Co-authored-by: Mehrdad <noreply@github.com>
This commit is contained in:
+5
-1
@@ -1,7 +1,11 @@
|
||||
diff --git include/msgpack/v1/vrefbuffer.hpp include/msgpack/v1/vrefbuffer.hpp
|
||||
--- include/msgpack/v1/vrefbuffer.hpp
|
||||
+++ include/msgpack/v1/vrefbuffer.hpp
|
||||
@@ -28,4 +28,19 @@
|
||||
@@ -25,7 +25,22 @@
|
||||
-#if defined(unix) || defined(__unix) || defined(__APPLE__) || defined(__OpenBSD__)
|
||||
+#if defined(unix) || defined(__unix) || defined(__APPLE__) || defined(__OpenBSD__) || defined(__unix__)
|
||||
#include <sys/uio.h>
|
||||
#else
|
||||
+#ifdef _WIN32
|
||||
+#ifndef _WS2DEF_
|
||||
+#include <Winsock2.h>
|
||||
|
||||
Reference in New Issue
Block a user