UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
DirectHeaderCompiling.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5// C5105: macro expansion producing 'defined' has undefined behavior
6// however, in all compilers we use, the behavior is as desired
7#pragma warning(disable : 5105)
8
9// Used to allow control flow when direct header compiling to avoid issues with headers
10// that typically expect to be included after another header
11#ifndef UE_DIRECT_HEADER_COMPILING
12 #define UE_DIRECT_HEADER_COMPILING(id) defined __COMPILING_##id
13#endif