From 11696304593e957343fc0676718a7bc6df0e0940 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Fri, 24 May 2024 22:37:20 -0500 Subject: [PATCH] Indentation and fix includes for macros in Error.h Release Build 9427. --- Adventures in Lestoria/Error.h | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/Adventures in Lestoria/Error.h b/Adventures in Lestoria/Error.h index cde8038d..0b99b072 100644 --- a/Adventures in Lestoria/Error.h +++ b/Adventures in Lestoria/Error.h @@ -47,20 +47,18 @@ All rights reserved. inline std::ofstream debugLogger; #ifdef _DEBUG -#ifndef __EMSCRIPTEN__ -#ifndef __linux__ - #define NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ ) - // Replace _NORMAL_BLOCK with _CLIENT_BLOCK if you want the - // allocations to be of _CLIENT_BLOCK type -#else - #define NEW new + #ifndef __EMSCRIPTEN__ + #ifndef __linux__ + #define NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ ) + // Replace _NORMAL_BLOCK with _CLIENT_BLOCK if you want the + // allocations to be of _CLIENT_BLOCK type + #endif + #endif #endif -#else + +#ifndef NEW //For everything else. #define NEW new #endif -#else - #define NEW new -#endif #undef ERR //Stupid Windows