diff options
author | lloyd <[email protected]> | 2011-12-13 21:37:59 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-12-13 21:37:59 +0000 |
commit | ca2d58210875a8ab1b52c07dc31401de6d89d110 (patch) | |
tree | 951739182f9e53f67c8114da51454f59bccd7cd6 /src/utils/dyn_load | |
parent | 804b3dc90d2b1421ee41a51dbfdcb56142927cc0 (diff) |
Use LoadLibraryA instead of bare LoadLibrary so things work if used in
an amalgamation and the app is compiled in Unicode mode.
Diffstat (limited to 'src/utils/dyn_load')
-rw-r--r-- | src/utils/dyn_load/dyn_load.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/dyn_load/dyn_load.cpp b/src/utils/dyn_load/dyn_load.cpp index 7f42218f9..06b8c5df3 100644 --- a/src/utils/dyn_load/dyn_load.cpp +++ b/src/utils/dyn_load/dyn_load.cpp @@ -39,7 +39,7 @@ Dynamically_Loaded_Library::Dynamically_Loaded_Library( raise_runtime_loader_exception(lib_name, dlerror()); #elif defined(BOTAN_TARGET_OS_HAS_LOADLIBRARY) - lib = ::LoadLibrary(lib_name.c_str()); + lib = ::LoadLibraryA(lib_name.c_str()); if(!lib) raise_runtime_loader_exception(lib_name, "LoadLibrary failed"); |