mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-25 11:19:03 +01:00
Merge pull request #19954 from KatyushaScarlet/dev-loongarch64
Fix compilation errors on LoongArch.
This commit is contained in:
2 files changed
+1
-14
No files matched your search
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user