diff options
Diffstat (limited to 'StormLib/src/FileStream.cpp')
| -rw-r--r-- | StormLib/src/FileStream.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/StormLib/src/FileStream.cpp b/StormLib/src/FileStream.cpp index da1d0438d..323a91f13 100644 --- a/StormLib/src/FileStream.cpp +++ b/StormLib/src/FileStream.cpp @@ -34,7 +34,12 @@ // Local functions - platform-specific functions #ifndef STORMLIB_WINDOWS + +#ifndef STORMLIB_WIIU // WIIU doesn't support thread_local static thread_local DWORD dwLastError = ERROR_SUCCESS; +#else +static DWORD dwLastError = ERROR_SUCCESS; +#endif DWORD GetLastError() { |
