mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
avoid link error on non-windows
This commit is contained in:
parent
0de92e406c
commit
a9686d6ecf
1 changed files with 2 additions and 0 deletions
|
@ -14,7 +14,9 @@
|
||||||
#include <mimalloc.h>
|
#include <mimalloc.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
#include <mimalloc-new-delete.h>
|
#include <mimalloc-new-delete.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue