diff options
author | Ladislav Zezula <ladislav.zezula@avast.com> | 2021-05-15 17:49:53 +0200 |
---|---|---|
committer | Ladislav Zezula <ladislav.zezula@avast.com> | 2021-05-15 17:49:53 +0200 |
commit | 013b12f860ccb2e418bb10766c57fcc18b7b966a (patch) | |
tree | 086afb48bf9df13cc6b0f99f548762a006b1723b /src/FileStream.cpp | |
parent | 3d6095e1ddb104986728fce2a6fb28fb28f9e005 (diff) |
Fixed thread_local
Diffstat (limited to 'src/FileStream.cpp')
-rw-r--r-- | src/FileStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileStream.cpp b/src/FileStream.cpp index 2266518..a3c8e9b 100644 --- a/src/FileStream.cpp +++ b/src/FileStream.cpp @@ -34,7 +34,7 @@ // Local functions - platform-specific functions
#ifndef STORMLIB_WINDOWS
-static thread_local DWORD nLastError = ERROR_SUCCESS;
+static THREAD_LOCAL DWORD nLastError = ERROR_SUCCESS;
DWORD GetLastError()
{
|