aboutsummaryrefslogtreecommitdiff
path: root/client/errcatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/errcatch.h')
-rw-r--r--client/errcatch.h8
1 files changed, 8 insertions, 0 deletions
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;