diff options
author | Ladislav Zezula <ladislav.zezula@avast.com> | 2023-02-02 09:07:20 +0100 |
---|---|---|
committer | Ladislav Zezula <ladislav.zezula@avast.com> | 2023-02-02 09:07:20 +0100 |
commit | bd8100dd50dc276a8093cada4cb53d4cf721014c (patch) | |
tree | bf65edce50cc96c6532ad8b65130950254a2c84c /test/TLogHelper.cpp | |
parent | 4fb49e6aa0a017768c58a2261a8da8dd59639557 (diff) |
Linux build errors
Diffstat (limited to 'test/TLogHelper.cpp')
-rw-r--r-- | test/TLogHelper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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)
{
|