From 6b6ae5fa9d656295ab150583f731d0e1bfbfeb13 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Thu, 31 Oct 2024 08:51:17 +0100 Subject: [PATCH] [utils,helpers] revert removed define the define was conditionally unused. guard it now so it does not show up as unused --- libfreerdp/utils/helpers.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libfreerdp/utils/helpers.c b/libfreerdp/utils/helpers.c index 2edbf4141..6efefaf5c 100644 --- a/libfreerdp/utils/helpers.c +++ b/libfreerdp/utils/helpers.c @@ -24,6 +24,10 @@ #include #include +#if defined(WITH_RESOURCE_VERSIONING) +#define STR(x) #x +#endif + char* freerdp_GetConfigFilePath(BOOL system, const char* filename) { eKnownPathTypes id = system ? KNOWN_PATH_SYSTEM_CONFIG_HOME : KNOWN_PATH_XDG_CONFIG_HOME;