mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
A macOS build of main failed 49 objects. Most included libc/include/FileStream.hpp, whose global-namespace ::feof_unlocked and ::ferror_unlocked do not exist there (they are macros in the macOS SDK). On macOS: - FileStream.hpp calls feof_unlocked and ferror_unlocked unqualified. - ExportMacros.hpp adds the leading underscore Mach-O gives C symbols to both names in APS5_EXPORT, so the .set alias resolves. - ThreadPriority.cpp has no rtkit or RLIMIT_RTTIME; "high" asks for the user-interactive QoS class and "rt" for a Mach time-constraint policy (period 1 ms, computation 0.5 ms), documented in ENVIRONMENT.md. - Formatting.cpp maps the SysV va_list builtins to va_list, and GuestContentSearch.cpp and GuestNpWebApi2.cpp include <initializer_list>. With these, 16 objects still fail on macOS; each is in a file changed by an open macOS PR. Linux and Windows compile the same code as before.