diff options
author | David Chavez <david@dcvz.io> | 2022-11-10 12:40:05 +0100 |
---|---|---|
committer | David Chavez <david@dcvz.io> | 2022-11-10 12:40:05 +0100 |
commit | 1153eba05e0f452c9919459fd02f7853e8ff894f (patch) | |
tree | 80284993dc92a06c0fe20279517e6500fa980519 /src/FileStream.cpp | |
parent | 5dca772f3933338c0c14c082ad8781f55bf84141 (diff) |
Add support for the Wii U platform
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()
{
|