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
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"
24#endif
25#include <mimalloc.h> // IWYU pragma: export
26#ifdef __cplusplus
28#endif
29
30#endif // PLATFORM_BUILDS_MIMALLOC
#define THIRD_PARTY_INCLUDES_START
Definition GenericPlatformCompilerPreSetup.h:63
Definition Voronoi.cpp:10