From b4c807b37cfed0dd2af284c2aa1c21b179b47424 Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Mon, 4 Jan 2021 02:36:19 +0000 Subject: [PATCH] Don't include tagmappings without ircv3 --- src/private/mappings.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/private/mappings.h b/src/private/mappings.h index aa20866..ae13096 100644 --- a/src/private/mappings.h +++ b/src/private/mappings.h @@ -25,9 +25,11 @@ #ifndef UIRC_GUARD_MAPPINGS #define UIRC_GUARD_MAPPINGS +#ifdef UIRC_IRCV3 struct tagmapping { const char* const name; IRC_Tag* assg; }; +#endif /* UIRC_IRCV3 */ #endif /* UIRC_GUARD_MAPPINGS */