diff options
author | Ladislav Zezula <zezula@volny.cz> | 2022-11-10 14:26:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 14:26:11 +0100 |
commit | 3235d01eab95af50c589a615bd8d492f911369f7 (patch) | |
tree | 80284993dc92a06c0fe20279517e6500fa980519 /src/FileStream.cpp | |
parent | 5dca772f3933338c0c14c082ad8781f55bf84141 (diff) | |
parent | 1153eba05e0f452c9919459fd02f7853e8ff894f (diff) |
Merge pull request #267 from dcvz/wiiu-support
Merged. Thanks for the contribution.
Diffstat (limited to 'src/FileStream.cpp')
-rw-r--r-- | src/FileStream.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/FileStream.cpp b/src/FileStream.cpp index d15316a..c431cb6 100644 --- a/src/FileStream.cpp +++ b/src/FileStream.cpp @@ -34,7 +34,12 @@ // Local functions - platform-specific functions
#ifndef STORMLIB_WINDOWS
+
+#ifndef STORMLIB_WIIU
static thread_local DWORD dwLastError = ERROR_SUCCESS;
+#else
+static DWORD dwLastError = ERROR_SUCCESS;
+#endif
DWORD GetLastError()
{
|