[utils,helpers] revert removed define

the define was conditionally unused. guard it now so it does not show up
as unused
This commit is contained in:
akallabeth
2024-10-31 08:51:17 +01:00
parent 2bdb059644
commit 6b6ae5fa9d

View File

@@ -24,6 +24,10 @@
#include <freerdp/version.h>
#include <freerdp/build-config.h>
#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;