From 633e6a25b39111d8b8c2e2d2fdc8e37ccd9241c1 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 29 Jul 2023 17:04:27 +0200 Subject: [PATCH] Add strcat define --- r5dev/public/tier1/strtools.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/r5dev/public/tier1/strtools.h b/r5dev/public/tier1/strtools.h index 15aa9233..b577260f 100644 --- a/r5dev/public/tier1/strtools.h +++ b/r5dev/public/tier1/strtools.h @@ -39,6 +39,7 @@ #define V_strstr strstr #define V_strncpy strncpy #define V_strdup _strdup +#define V_strcat strcat #define Q_vsnprintf V_vsnprintf #define Q_snprintf V_snprintf @@ -55,6 +56,7 @@ #define Q_strstr V_strstr #define Q_strncpy V_strncpy #define Q_strdup V_strdup +#define Q_strcat V_strcat template int V_vsprintf_safe(OUT_Z_ARRAY char(&pDest)[maxLenInCharacters], PRINTF_FORMAT_STRING const char* pFormat, va_list params) { return V_vsnprintf(pDest, maxLenInCharacters, pFormat, params); }