Skip to content

Commit

Permalink
Merge pull request #19954 from KatyushaScarlet/dev-loongarch64
Browse files Browse the repository at this point in the history
Fix compilation errors on LoongArch.
  • Loading branch information
hrydgard authored Feb 6, 2025
2 parents 7006f01 + 56bd3d8 commit b245165
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
1 change: 1 addition & 0 deletions Common/Math/SIMDHeaders.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
14 changes: 0 additions & 14 deletions Common/Net/SocketCompat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b245165

Please sign in to comment.