diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:12:46 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:12:46 +0200 |
commit | b338e29fd3eaf700f8c8360aa0310048ba941d54 (patch) | |
tree | 122f8ef3790d12cd10275ef7453a9e8053322d78 /shared/last_error.h | |
parent | 3.18 (diff) | |
download | FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.gz FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.bz2 FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.zip |
3.19
Diffstat (limited to 'shared/last_error.h')
-rw-r--r-- | shared/last_error.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/last_error.h b/shared/last_error.h index 9db41222..b617ebf5 100644 --- a/shared/last_error.h +++ b/shared/last_error.h @@ -7,16 +7,16 @@ #ifndef SYSTEMFUNCTIONS_H_INCLUDED #define SYSTEMFUNCTIONS_H_INCLUDED -#include <wx/string.h> +#include <string> namespace zen { //evaluate GetLastError()/errno and assemble specific error message #ifdef FFS_WIN -wxString getLastErrorFormatted(unsigned long lastError = 0); +std::wstring getLastErrorFormatted(unsigned long lastError = 0); #elif defined FFS_LINUX -wxString getLastErrorFormatted(int lastError = 0); +std::wstring getLastErrorFormatted(int lastError = 0); #endif } |