From fedc13d6564dcf110ba3b7faca3c34a28c7905cb Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 6 Jun 2022 20:48:20 +0200 Subject: error logging working --- client/errcatch.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 client/errcatch.h (limited to 'client/errcatch.h') diff --git a/client/errcatch.h b/client/errcatch.h new file mode 100644 index 0000000..71eb56d --- /dev/null +++ b/client/errcatch.h @@ -0,0 +1,8 @@ +#pragma once + +#include "../shared/errcatch.h" + +#define W2_ERRCATCH_LOG_SIZE 256 + +extern w2_s_error *g_w2_error_log[W2_ERRCATCH_LOG_SIZE]; +extern unsigned int g_w2_error_log_index; -- cgit v1.2.3