mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-28 16:54:32 +00:00
Fixes for Moonlight compatibility on the PS Vita. (#110)
* Use pthread for vita thread managment * Add thread name to pthread and remove ipv6 from vita * Fix inclusion of pthread.h so that it is only included on specific platforms (__vita__) * Fix memory release in ThreadProc for psvita platform --------- Co-authored-by: MetalfaceScout <logan.mathis@utahtech.edu> Co-authored-by: Logan Mathis <33127568+MetalfaceScout@users.noreply.github.com>
This commit is contained in:
3 files changed
+20
-68
No files matched your search
@@ -12,6 +12,12 @@
|
||||
extern in_port_t n3ds_udp_port;
|
||||
#endif
|
||||
|
||||
#ifdef __vita__
|
||||
#ifdef AF_INET6
|
||||
#undef AF_INET6
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <Windows.h>
|
||||
|
||||
Reference in new issue
Block a user