diff options
author | Ladislav Zezula <zezula@volny.cz> | 2025-08-18 21:08:37 +0200 |
---|---|---|
committer | Ladislav Zezula <zezula@volny.cz> | 2025-08-18 21:08:37 +0200 |
commit | 519927d280f75b80223986c615f4383a36255b7c (patch) | |
tree | 2c62f77b32dcf955e88bd49387a2580343c7f225 /test/TLogHelper.cpp | |
parent | 36d76cddbfa02624617bb112da0b72e919f0cf33 (diff) |
Suppress the default error messages from AlsaLib
Diffstat (limited to 'test/TLogHelper.cpp')
-rw-r--r-- | test/TLogHelper.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/TLogHelper.cpp b/test/TLogHelper.cpp index df1492a..dc8804b 100644 --- a/test/TLogHelper.cpp +++ b/test/TLogHelper.cpp @@ -108,11 +108,7 @@ inline DWORD TestInterlockedIncrement(DWORD * PtrValue) inline DWORD Test_GetLastError()
{
-#if defined(CASCLIB_PLATFORM_WINDOWS)
- return GetCascError();
-#else
- return GetLastError();
-#endif
+ return SErrGetLastError();
}
#ifdef TEST_PLATFORM_WINDOWS
|