mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-07 11:58:41 +03:00
fix warnings on vs2017
This commit is contained in:
parent
44ba0d254b
commit
9d82b15d87
4 changed files with 13 additions and 10 deletions
|
@ -11,6 +11,9 @@ terms of the MIT license. A copy of the license can be found in the file
|
|||
#include <stdio.h> // fputs, stderr
|
||||
#include <string.h> // memset
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1920)
|
||||
#pragma warning(disable:4204) // non-constant aggregate initializer
|
||||
#endif
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
Statistics operations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue