diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-02-06 03:26:55 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-02-06 03:26:55 (GMT) |
commit | 62b612fbf841fd8d1d4e293ad84d933133543860 (patch) | |
tree | 9f5e585824494932ec2dc85946e3a00446a38d88 /Source/cmSystemTools.h | |
parent | 9676bb4b22687e1265adc13647c078991d3b4c85 (diff) | |
download | CMake-62b612fbf841fd8d1d4e293ad84d933133543860.zip CMake-62b612fbf841fd8d1d4e293ad84d933133543860.tar.gz CMake-62b612fbf841fd8d1d4e293ad84d933133543860.tar.bz2 |
add better testing for unlink
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index c977ced..3cd3321 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -353,6 +353,10 @@ public: */ static void SetRunCommandHideConsole(bool v){s_RunCommandHideConsole = v;} static bool GetRunCommandHideConsole(){ return s_RunCommandHideConsole;} + /** Call cmSystemTools::Error with the message m, plus the + * result of strerror(errno) + */ + static void ReportLastSystemError(const char* m); /** When building DEBUG with MSVC, this enables a hook that prevents * error dialogs from popping up if the program is being run from |