Correct header paths

This commit is contained in:
gingerBill
2024-01-29 17:49:57 +00:00
parent ecaaad95a5
commit c8a0c7096c
6 changed files with 14 additions and 14 deletions

View File

@@ -14,8 +14,8 @@ terms of the MIT license. A copy of the license can be found in the file
// functions and macros.
// --------------------------------------------------------------------------
#include "mimalloc/types.h"
#include "mimalloc/track.h"
#include "types.h"
#include "track.h"
#if (MI_DEBUG>0)
#define mi_trace_message(...) _mi_trace_message(__VA_ARGS__)

View File

@@ -84,7 +84,7 @@ defined, undefined, or not accessible at all:
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "../src/prim/windows/etw.h"
#include "../prim/windows/etw.h"
#define mi_track_init() EventRegistermicrosoft_windows_mimalloc();
#define mi_track_malloc_size(p,reqsize,size,zero) EventWriteETW_MI_ALLOC((UINT64)(p), size)

View File

@@ -21,7 +21,7 @@ terms of the MIT license. A copy of the license can be found in the file
#include <stddef.h> // ptrdiff_t
#include <stdint.h> // uintptr_t, uint16_t, etc
#include "mimalloc/atomic.h" // _Atomic
#include "atomic.h" // _Atomic
#ifdef _MSC_VER
#pragma warning(disable:4214) // bitfield is not int

View File

@@ -5,8 +5,8 @@ terms of the MIT license. A copy of the license can be found in the file
"LICENSE" at the root of this distribution.
-----------------------------------------------------------------------------*/
#include "mimalloc.h"
#include "mimalloc/internal.h"
#include "../../mimalloc.h"
#include "../../mimalloc/internal.h"
#if defined(MI_MALLOC_OVERRIDE)

View File

@@ -20,10 +20,10 @@ terms of the MIT license. A copy of the license can be found in the file
#undef _POSIX_C_SOURCE
#endif
#include "mimalloc.h"
#include "mimalloc/internal.h"
#include "mimalloc/atomic.h"
#include "mimalloc/prim.h"
#include "../../mimalloc.h"
#include "../../mimalloc/internal.h"
#include "../../mimalloc/atomic.h"
#include "../../mimalloc/prim.h"
#include <sys/mman.h> // mmap
#include <unistd.h> // sysconf

View File

@@ -7,10 +7,10 @@ terms of the MIT license. A copy of the license can be found in the file
// This file is included in `src/prim/prim.c`
#include "mimalloc.h"
#include "mimalloc/internal.h"
#include "mimalloc/atomic.h"
#include "mimalloc/prim.h"
#include "../../mimalloc.h"
#include "../../mimalloc/internal.h"
#include "../../mimalloc/atomic.h"
#include "../../mimalloc/prim.h"
//---------------------------------------------
// Initialize