diff options
Diffstat (limited to 'cpp/src/slice2php/Main.cpp')
-rw-r--r-- | cpp/src/slice2php/Main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/slice2php/Main.cpp b/cpp/src/slice2php/Main.cpp index 780da8f8f29..1905fc40372 100644 --- a/cpp/src/slice2php/Main.cpp +++ b/cpp/src/slice2php/Main.cpp @@ -7,7 +7,6 @@ // // ********************************************************************** -#include <IceUtil/DisableWarnings.h> #include <IceUtil/CtrlCHandler.h> #include <IceUtil/IceUtil.h> #include <IceUtil/InputUtil.h> @@ -1857,7 +1856,7 @@ compile(const vector<string>& argv) if(!out) { ostringstream os; - os << "cannot open`" << file << "': " << strerror(errno); + os << "cannot open`" << file << "': " << IceUtilInternal::errorToString(errno); throw FileException(__FILE__, __LINE__, os.str()); } FileTracker::instance()->addFile(file); |