https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62109
--- Comment #7 from Kai Tietz <ktietz at gcc dot gnu.org> --- I agree that we change it to #define __GTHR_W32_InterlockedCompareExchange InterlockedCompareExchange not sure if we actually should error out here at all. We might want to remove instead the use of __GTHREAD_I486_INLINE_LOCK_PRIMITIVES completely.