From 28b87e4d9c60b49d46b03a19b7b83e23e222087a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 22 Aug 2022 01:02:34 +0200 Subject: Handle exceptions in fetching thread. --- c/util.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'c/util.h') diff --git a/c/util.h b/c/util.h index d233ce1..1d8d222 100644 --- a/c/util.h +++ b/c/util.h @@ -4,6 +4,12 @@ #include #include #include +#include +#include + +#define CAT(a, b) a##b +#define APPLY(a, ...) a(__VA_ARGS__) +#define UNUSED APPLY(CAT, unused_, __COUNTER__) /* Format static wide string. */ template -- cgit v1.2.3