diff options
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 } |