mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
flip the order of includes for ease of use
This commit is contained in:
parent
0a2520490b
commit
1b2b7404f7
2 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,6 @@
|
||||||
This header can be used to hook mimalloc into STL containers in place of
|
This header can be used to hook mimalloc into STL containers in place of
|
||||||
std::allocator.
|
std::allocator.
|
||||||
-----------------------------------------------------------------------------*/
|
-----------------------------------------------------------------------------*/
|
||||||
#include <mimalloc.h>
|
|
||||||
#include <type_traits> // true_type
|
#include <type_traits> // true_type
|
||||||
|
|
||||||
#pragma warning(disable: 4100)
|
#pragma warning(disable: 4100)
|
||||||
|
|
|
@ -73,6 +73,8 @@ terms of the MIT license. A copy of the license can be found in the file
|
||||||
#include <stdbool.h> // bool
|
#include <stdbool.h> // bool
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
#include <mimalloc-stl-allocator.h>
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue