Conversation
|
Wouldn't this break clang builds on win32? |
|
@yellows111 Because of |
|
Duplicate of a fix I added in #35 In fact both of us may learn from the IDAXEX implementation which should work on Windows, MacOS, and Linux. |
I do not see I'm concerned due to seeing the following: "This is the default for Windows targets.", and "For compatibility with existing code that compiles with MSVC, clang defines the Can someone verify that this change doesn't cause builds using |
|
@yellows111 I made sure to check for Clang should not be defining macros made for other compilers though. That's kinda concerning, considering there are very few ways to check the active compiler. |
|
Is this needed? I already discourage people from using MSVC, and XenonRecomp's output uses many clang/GCC intrinsics that don't work on MSVC anyway. |
Maybe just don't do that? Seems like a bad idea to me. idk... |
|
MSVC has horrendous code generation/optimization. It shouldn't be used for the output of a project like this. |
Hi,
Quick compilation fix for MSVC.
__builtin_bswap is for clang/GCC and byteswap is for MSVC.
Cheers,
-Yohann