summaryrefslogtreecommitdiff
path: root/include/mimalloc.h
diff options
context:
space:
mode:
authordaan <daanl@outlook.com>2020-04-20 17:59:13 -0700
committerdaan <daanl@outlook.com>2020-04-20 17:59:13 -0700
commitd102882bdf34ce1fadf224c3d3ef954c6c79cbec (patch)
treea3074bfc2f92e9abb938210f143f02736f9755df /include/mimalloc.h
parentecdb2cd7066f80c9017c91298c677b105cb95b19 (diff)
bump version to 1.6.2
Diffstat (limited to 'include/mimalloc.h')
-rw-r--r--include/mimalloc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/mimalloc.h b/include/mimalloc.h
index b99b668..dcd87c4 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 161 // major + 2 digits minor
+#define MI_MALLOC_VERSION 162 // major + 2 digits minor
// ------------------------------------------------------
// Compiler specific attributes
@@ -28,11 +28,11 @@ terms of the MIT license. A copy of the license can be found in the file
#define mi_decl_nodiscard [[nodiscard]]
#elif (__GNUC__ >= 4) || defined(__clang__) // includes clang, icc, and clang-cl
#define mi_decl_nodiscard __attribute__((warn_unused_result))
-#elif (_MSC_VER >= 1700)
+#elif (_MSC_VER >= 1700)
#define mi_decl_nodiscard _Check_return_
-#else
- #define mi_decl_nodiscard
-#endif
+#else
+ #define mi_decl_nodiscard
+#endif
#if defined(_MSC_VER) || defined(__MINGW32__)
#if !defined(MI_SHARED_LIB)