diff options
Diffstat (limited to 'dll.h')
-rw-r--r-- | dll.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -47,15 +47,15 @@ #ifdef _DLL
// cause CRT DLL to be initialized before Crypto++ so that we can use malloc and free during DllMain()
-#ifdef NDEBUG
-#pragma comment(lib, "msvcrt")
+#ifdef CRYPTOPP_DEBUG
+# pragma comment(lib, "msvcrtd")
+# pragma comment(lib, "cryptopp")
#else
-#pragma comment(lib, "msvcrtd")
+# pragma comment(lib, "msvcrt")
+# pragma comment(lib, "cryptopp")
#endif
#endif
-#pragma comment(lib, "cryptopp")
-
#endif // #ifdef CRYPTOPP_IMPORTS
#include <new> // for new_handler
|