The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

h/mercury: Remove __builtin_expect on MSVC

authored by

Moses Turner and committed by
Moses Turner
79701d85 3155765a

+5 -1
+5 -1
src/xrt/tracking/hand/mercury/kine_lm/lm_rotations.inl
··· 43 43 #include "float.h" 44 44 #include "lm_defines.hpp" 45 45 46 - 46 + #ifdef XRT_OS_LINUX 47 47 #define likely(x) __builtin_expect((x), 1) 48 48 #define unlikely(x) __builtin_expect((x), 0) 49 + #else 50 + #define likely(x) x 51 + #define unlikely(x) x 52 + #endif 49 53 50 54 namespace xrt::tracking::hand::mercury::lm { 51 55