UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IncludeMiMalloc.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
#pragma once
3
4
// HEADER_UNIT_SKIP - Not included directly
5
6
#if !defined(PLATFORM_BUILDS_MIMALLOC)
7
# define PLATFORM_BUILDS_MIMALLOC 0
8
#endif
9
10
#if PLATFORM_BUILDS_MIMALLOC
11
12
#include "
HAL/LowLevelMemTrackerDefines.h
"
13
14
#if LLM_ENABLED_IN_CONFIG
15
#define MI_USE_EXTERNAL_ALLOCATORS 1
16
#endif
17
18
#define MI_PADDING 0
19
#define MI_TSAN 0
20
21
#ifdef __cplusplus
22
#include "
HAL/Platform.h
"
23
THIRD_PARTY_INCLUDES_START
24
#endif
25
#include <mimalloc.h>
// IWYU pragma: export
26
#ifdef __cplusplus
27
THIRD_PARTY_INCLUDES_END
28
#endif
29
30
#endif
// PLATFORM_BUILDS_MIMALLOC
Platform.h
THIRD_PARTY_INCLUDES_START
#define THIRD_PARTY_INCLUDES_START
Definition
GenericPlatformCompilerPreSetup.h:63
LowLevelMemTrackerDefines.h
THIRD_PARTY_INCLUDES_END
Definition
Voronoi.cpp:10
Engine
Source
Runtime
Core
Private
Thirdparty
IncludeMiMalloc.h
Generated by
1.9.8