summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Preprocessor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Slice/Preprocessor.cpp')
-rw-r--r--cpp/src/Slice/Preprocessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/Preprocessor.cpp b/cpp/src/Slice/Preprocessor.cpp
index 6a32037af44..c8e49029f25 100644
--- a/cpp/src/Slice/Preprocessor.cpp
+++ b/cpp/src/Slice/Preprocessor.cpp
@@ -741,7 +741,7 @@ Slice::Preprocessor::checkInputFile()
return false;
}
- ifstream test(_fileName.c_str());
+ ifstream test(IceUtilInternal::streamFilename(_fileName).c_str());
if(!test)
{
getErrorStream() << _path << ": error: cannot open `" << _fileName << "' for reading" << endl;