From 76ed12c7f8785aeabe19879019b1ad82f506d0a1 Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Sun, 1 Dec 2019 00:29:16 -0600 Subject: [PATCH] Moved bufferW out of verbose block --- Doorstop/Proxy/assert_util.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doorstop/Proxy/assert_util.h b/Doorstop/Proxy/assert_util.h index d2d31b46..ade011fd 100644 --- a/Doorstop/Proxy/assert_util.h +++ b/Doorstop/Proxy/assert_util.h @@ -1,16 +1,14 @@ #pragma once - -#ifdef _VERBOSE - #pragma comment(lib, "ucrt.lib") #include #include +#ifdef _VERBOSE + static HANDLE log_handle; static char buffer[8192]; -static wchar_t bufferW[8192]; inline void init_logger() { @@ -40,6 +38,8 @@ inline void free_logger() #define LOG(message, ...) #endif +static wchar_t bufferW[8192]; + #define ASSERT_F(test, message, ...) \ if(!(test)) \ { \