Fix a segfault inside tb_remove_from_jmp_list by forcing clang-cl to use the same atomic routines as MSVC.

This commit is contained in:
relapids 2022-08-15 06:45:25 -07:00
parent 2ac7b55797
commit 5a54b3d7af
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@
(unsigned short)1, \
(expr)+0))))))
#ifdef __ATOMIC_RELAXED
#if defined(__ATOMIC_RELAXED) && !(defined(_MSC_VER) && defined(__clang__))
/* For C11 atomic ops */
/* Sanity check that the size of an atomic operation isn't "overly large".