summaryrefslogtreecommitdiff
path: root/shared/systemFunctions.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared/systemFunctions.h')
-rw-r--r--shared/systemFunctions.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/shared/systemFunctions.h b/shared/systemFunctions.h
new file mode 100644
index 00000000..b449d8d2
--- /dev/null
+++ b/shared/systemFunctions.h
@@ -0,0 +1,18 @@
+#ifndef SYSTEMFUNCTIONS_H_INCLUDED
+#define SYSTEMFUNCTIONS_H_INCLUDED
+
+#include <wx/string.h>
+
+
+namespace FreeFileSync
+{
+
+#ifdef FFS_WIN
+ wxString getLastErrorFormatted(const unsigned long lastError = 0); //try to get additional Windows error information
+#elif defined FFS_LINUX
+ wxString getLastErrorFormatted(const int lastError = 0); //try to get additional Linux error information
+#endif
+}
+
+
+#endif // SYSTEMFUNCTIONS_H_INCLUDED
bgstack15