summaryrefslogtreecommitdiffstats
path: root/Tests/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Plugin')
-rw-r--r--Tests/Plugin/src/example_exe.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/Plugin/src/example_exe.cxx b/Tests/Plugin/src/example_exe.cxx
index 86b54f7..017fbf6 100644
--- a/Tests/Plugin/src/example_exe.cxx
+++ b/Tests/Plugin/src/example_exe.cxx
@@ -31,7 +31,9 @@ int main()
kwsys::DynamicLoader::LibraryHandle handle =
kwsys::DynamicLoader::OpenLibrary(libName.c_str());
if (!handle) {
- std::cerr << "Could not open plugin \"" << libName << "\"!" << std::endl;
+ // Leave the .c_str() on this one. It is needed on OpenWatcom.
+ std::cerr << "Could not open plugin \"" << libName.c_str() << "\"!"
+ << std::endl;
return 1;
}
kwsys::DynamicLoader::SymbolPointer sym =