From 76a68cd7af539625dea3ce349aa7742bc02e1ebc Mon Sep 17 00:00:00 2001 From: daan Date: Thu, 3 Sep 2020 09:45:53 -0700 Subject: [PATCH] bump version to 1.6.6 with new atomics --- include/mimalloc-atomic.h | 4 ++-- include/mimalloc.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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