From bd8100dd50dc276a8093cada4cb53d4cf721014c Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Thu, 2 Feb 2023 09:07:20 +0100 Subject: Linux build errors --- test/TLogHelper.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/TLogHelper.cpp') diff --git a/test/TLogHelper.cpp b/test/TLogHelper.cpp index 0570c65..84dc0aa 100644 --- a/test/TLogHelper.cpp +++ b/test/TLogHelper.cpp @@ -108,6 +108,7 @@ void TestStrCopy(wchar_t * szTarget, size_t cchTarget, const char * szSource, si } } +#ifdef STORMLIB_WINDOWS wchar_t * CopyFormatCharacter(wchar_t * szBuffer, const wchar_t *& szFormat) { static const wchar_t * szStringFormat = _T("%s"); @@ -136,6 +137,7 @@ wchar_t * CopyFormatCharacter(wchar_t * szBuffer, const wchar_t *& szFormat) *szBuffer++ = *szFormat++; return szBuffer; } +#endif // STORMLIB_WINDOWS char * CopyFormatCharacter(char * szBuffer, const char *& szFormat) { -- cgit v1.2.3