aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/wait_object.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-11 20:26:37 -0400
committerLioncash <mathew1800@gmail.com>2019-04-11 20:36:19 -0400
commitd9fa38ef42ba9efa2c160787dfa1e999e970fe93 (patch)
tree31a11148138dece030895b70a0e5304d27401129 /src/core/hle/kernel/wait_object.cpp
parent424250354c6f49147c35b9f46b3b747c25fb398f (diff)
common/swap: Simplify swap function ifdefs
Including every OS' own built-in byte swapping functions is kind of undesirable, since it adds yet another build path to ensure compilation succeeds on. Given we only support clang, GCC, and MSVC for the time being, we can utilize their built-in functions directly instead of going through the OS's API functions. This shrinks the overall code down to just if (msvc) use msvc's functions else if (clang or gcc) use clang/gcc's builtins else use the slow path
Diffstat (limited to 'src/core/hle/kernel/wait_object.cpp')
0 files changed, 0 insertions, 0 deletions