aboutsummaryrefslogtreecommitdiff
path: root/test/TLogHelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/TLogHelper.cpp')
-rw-r--r--test/TLogHelper.cpp6
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