From 672a05ac6cb569fc3503778beb51ec6c2d7360c3 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Tue, 20 May 2025 02:01:10 +0200 Subject: [PATCH] Fix inclusion guards of 3 files --- LEGO1/library_msvc.h | 2 +- LEGO1/library_smack.h | 2 +- LEGO1/tgl/d3drm/impl.h | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/LEGO1/library_msvc.h b/LEGO1/library_msvc.h index 60f5988c..b0542e13 100644 --- a/LEGO1/library_msvc.h +++ b/LEGO1/library_msvc.h @@ -1,4 +1,4 @@ -#ifdef 0 +#if 0 // For LEGO1 symbols only // aka `operator new` diff --git a/LEGO1/library_smack.h b/LEGO1/library_smack.h index 0967aeab..56d00db6 100644 --- a/LEGO1/library_smack.h +++ b/LEGO1/library_smack.h @@ -1,4 +1,4 @@ -#ifdef 0 +#if 0 // LIBRARY: LEGO1 0x100cd782 // LIBRARY: BETA10 0x1015fb82 diff --git a/LEGO1/tgl/d3drm/impl.h b/LEGO1/tgl/d3drm/impl.h index 555d8432..e7cdf3eb 100644 --- a/LEGO1/tgl/d3drm/impl.h +++ b/LEGO1/tgl/d3drm/impl.h @@ -1,3 +1,5 @@ +#ifndef TGL_D3DRM_IMPL_H +#define TGL_D3DRM_IMPL_H #include "compat.h" #include "decomp.h" @@ -818,4 +820,6 @@ inline D3DRMLIGHTTYPE Translate(LightType tglLightType) // GLOBAL: LEGO1 0x100dd1e0 // IID_IDirect3DRMMeshBuilder -} /* namespace TglImpl */ +} /* namespace TglImpl * + +#endif/