mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-21 06:19:31 +03:00
Change internal include to double quote
This commit is contained in:
parent
e2c095fad2
commit
916fae3d5d
3 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ terms of the MIT license. A copy of the license can be found in the file
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
#include <new>
|
#include <new>
|
||||||
#include <mimalloc.h>
|
#include "mimalloc.h"
|
||||||
|
|
||||||
void operator delete(void* p) noexcept { mi_free(p); };
|
void operator delete(void* p) noexcept { mi_free(p); };
|
||||||
void operator delete[](void* p) noexcept { mi_free(p); };
|
void operator delete[](void* p) noexcept { mi_free(p); };
|
||||||
|
|
|
@ -15,7 +15,7 @@ each source file in a project (but be careful when using external code to
|
||||||
not accidentally mix pointers from different allocators).
|
not accidentally mix pointers from different allocators).
|
||||||
-----------------------------------------------------------------------------*/
|
-----------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include <mimalloc.h>
|
#include "mimalloc.h"
|
||||||
|
|
||||||
// Standard C allocation
|
// Standard C allocation
|
||||||
#define malloc(n) mi_malloc(n)
|
#define malloc(n) mi_malloc(n)
|
||||||
|
|
|
@ -10,7 +10,7 @@ terms of the MIT license. A copy of the license can be found in the file
|
||||||
|
|
||||||
#include <stddef.h> // ptrdiff_t
|
#include <stddef.h> // ptrdiff_t
|
||||||
#include <stdint.h> // uintptr_t, uint16_t, etc
|
#include <stdint.h> // uintptr_t, uint16_t, etc
|
||||||
#include <mimalloc-atomic.h> // _Atomic
|
#include "mimalloc-atomic.h" // _Atomic
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(disable:4214) // bitfield is not int
|
#pragma warning(disable:4214) // bitfield is not int
|
||||||
|
|
Loading…
Add table
Reference in a new issue