From 6cccb9cb7220b78709c03e35dd97105b6df4125e Mon Sep 17 00:00:00 2001 From: AdamN <7974720+anr2me@users.noreply.github.com> Date: Sat, 29 Jun 2024 00:29:15 +0700 Subject: [PATCH] add SD_RECEIVE definition --- Core/HLE/proAdhoc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/HLE/proAdhoc.h b/Core/HLE/proAdhoc.h index 49ab5c8e48..ac34ea7fdf 100644 --- a/Core/HLE/proAdhoc.h +++ b/Core/HLE/proAdhoc.h @@ -111,6 +111,10 @@ inline bool isDisconnected(int errcode) { return (errcode == EPIPE || errcode == #define POLLPRI POLL_PRI #endif +#ifndef SD_RECEIVE +#define SD_RECEIVE SHUT_RD //0x00 +#endif + #ifndef SD_BOTH #define SD_BOTH SHUT_RDWR //0x02 #endif