summaryrefslogtreecommitdiff
path: root/include/mimalloc-internal.h
diff options
context:
space:
mode:
authorDaan Leijen <daan@microsoft.com>2022-04-14 16:10:36 -0700
committerDaan Leijen <daan@microsoft.com>2022-04-14 16:10:36 -0700
commitca0bac743da2bee23f2284dc63caaa6dd7ae621c (patch)
tree5dccf745f5288a3eb20e2b105b11baca4b33acdd /include/mimalloc-internal.h
parentf87cba9bd89f0a34838effa4366a73ddbe0963a6 (diff)
maintain backward compatible option order
Diffstat (limited to 'include/mimalloc-internal.h')
-rw-r--r--include/mimalloc-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mimalloc-internal.h b/include/mimalloc-internal.h
index 79adc23..961b36d 100644
--- a/include/mimalloc-internal.h
+++ b/include/mimalloc-internal.h
@@ -19,6 +19,7 @@ terms of the MIT license. A copy of the license can be found in the file
#define MI_CACHE_LINE 64
#if defined(_MSC_VER)
#pragma warning(disable:4127) // suppress constant conditional warning (due to MI_SECURE paths)
+#pragma warning(disable:26812) // unscoped enum warning
#define mi_decl_noinline __declspec(noinline)
#define mi_decl_thread __declspec(thread)
#define mi_decl_cache_align __declspec(align(MI_CACHE_LINE))