Merge pull request #19954 from KatyushaScarlet/dev-loongarch64

Fix compilation errors on LoongArch.
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2025-02-06 10:45:24 -06:00
commit b24516544f
2 files changed
+1 -14

No files matched your search

+1
View File
@@ -10,6 +10,7 @@
#include "ppsspp_config.h"
#include "stdint.h"
#include <string.h>
#ifdef __clang__
// Weird how you can't just use #pragma in a macro.
-14
View File
@@ -118,20 +118,6 @@ inline bool connectInProgress(int errcode) { return (errcode == EAGAIN || errcod
inline bool isDisconnected(int errcode) { return (errcode == EPIPE || errcode == ECONNRESET || errcode == ECONNABORTED || errcode == ESHUTDOWN); }
#endif
#ifndef POLL_ERR
#define POLL_ERR 0x008 /* Error condition. */
#endif
#ifndef POLLERR
#define POLLERR POLL_ERR
#endif
#ifndef POLL_PRI
#define POLL_PRI 0x002 /* There is urgent data to read. */
#endif
#ifndef POLLPRI
#define POLLPRI POLL_PRI
#endif
#ifndef SD_RECEIVE
#define SD_RECEIVE SHUT_RD //0x00
#endif