mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
feat(error): add exception-to-string translation for windows
This commit is contained in:
parent
bebe40f781
commit
d7fc37cef1
3 changed files with 104 additions and 2 deletions
|
|
@ -77,9 +77,8 @@ void SErrPrepareAppFatal(const char* filename, int32_t linenumber) {
|
|||
|
||||
void SErrSetLastError(uint32_t errorcode) {
|
||||
s_lasterror = errorcode;
|
||||
|
||||
#if defined(WHOA_SYSTEM_WIN)
|
||||
SetLastError(errorcode);
|
||||
SetLastError(errorcode);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue