diff --git a/include/mimalloc-atomic.h b/include/mimalloc-atomic.h index e1fdda16..e3e3186d 100644 --- a/include/mimalloc-atomic.h +++ b/include/mimalloc-atomic.h @@ -25,8 +25,8 @@ terms of the MIT license. A copy of the license can be found in the file #define mi_memory_order(name) std::memory_order_##name #elif defined(_MSC_VER) // Use MSVC C wrapper for C11 atomics -#define _Atomic(tp) tp -#define ATOMIC_VAR_INIT(x) x +#define _Atomic(tp) tp +#define ATOMIC_VAR_INIT(x) x #define mi_atomic(name) mi_atomic_##name #define mi_memory_order(name) mi_memory_order_##name #else diff --git a/include/mimalloc.h b/include/mimalloc.h index f44f6d9a..4b0a911f 100644 --- a/include/mimalloc.h +++ b/include/mimalloc.h @@ -8,7 +8,7 @@ terms of the MIT license. A copy of the license can be found in the file #ifndef MIMALLOC_H #define MIMALLOC_H -#define MI_MALLOC_VERSION 164 // major + 2 digits minor +#define MI_MALLOC_VERSION 166 // major + 2 digits minor // ------------------------------------------------------ // Compiler specific attributes