mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2026-10-12 02:18:48 +00:00
* Basic support for building with Visual Studio/clang-cl Clang is required, MSVC support needs too many code changes. ARM64 doesn't seem to work at the moment because of a bug in Qt. * Fix close being used instead of closesocket in GdbStub in Windows The GdbStub was closing sockets on windows by using "close" rather than "closesocket" * fix the gdbstub unconditionally including unistd.h on windows and make it default-on again * detect VS toolchain and arm64 with vcpkg, also get rid of some warnings on Windows * fix Qt indexOf ambiguity * stupid math library issues * add _USE_MATH_DEFINES so M_PI exists * work around faad2 uncondtionally linking libm even on Windows where it doesn't exist * Fix JIT linkage code for x86-64 in clang-cl builds * Make it build with non-cl clang as well * fix closesocket change breaking on macOS due to missing unistd include * little build cleanups --------- Co-authored-by: Edoardo Lolletti <[email protected]> Co-authored-by: Gloria Goertz <[email protected]>