summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testDynamicLoader.cxx
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2006-03-10 16:57:43 (GMT)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2006-03-10 16:57:43 (GMT)
commit97aca504d8e56d4764474a5bc7dfb269ed2294fd (patch)
tree7e8d4e4dcecafdcd84680ba66e432472bec9ec62 /Source/kwsys/testDynamicLoader.cxx
parent011de35360e8f3b22809f21055ccaff62ba7b212 (diff)
downloadCMake-97aca504d8e56d4764474a5bc7dfb269ed2294fd.zip
CMake-97aca504d8e56d4764474a5bc7dfb269ed2294fd.tar.gz
CMake-97aca504d8e56d4764474a5bc7dfb269ed2294fd.tar.bz2
ENH: Make sure that we find the proper symbol and not the one that start with _. STYLE: Remove an old style cast
Diffstat (limited to 'Source/kwsys/testDynamicLoader.cxx')
-rw-r--r--Source/kwsys/testDynamicLoader.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/kwsys/testDynamicLoader.cxx b/Source/kwsys/testDynamicLoader.cxx
index 23a422d..9a2e307 100644
--- a/Source/kwsys/testDynamicLoader.cxx
+++ b/Source/kwsys/testDynamicLoader.cxx
@@ -89,7 +89,9 @@ int main(int , char *[])
kwsys_stl::string libname = GetLibName("testDynload");
res += TestDynamicLoader(libname.c_str(), "dummy",1,0,1);
res += TestDynamicLoader(libname.c_str(), "TestDynamicLoaderFunction",1,1,1);
+ res += TestDynamicLoader(libname.c_str(), "_TestDynamicLoaderFunction",1,0,1);
res += TestDynamicLoader(libname.c_str(), "TestDynamicLoaderData",1,1,1);
+ res += TestDynamicLoader(libname.c_str(), "_TestDynamicLoaderData",1,0,1);
return res;
}