diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-09-17 14:40:23 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-09-17 14:40:23 -0400 |
commit | dc09f7446c62c3cc819cc85b7d0f04e8acb0c0cf (patch) | |
tree | 9e848d7765b45680a5eb7ca92c9c8a29fd07043f /dll.h | |
parent | eb107a6d6ff62e06185fe711e670ec778e4c0584 (diff) | |
download | cryptopp-git-dc09f7446c62c3cc819cc85b7d0f04e8acb0c0cf.tar.gz |
Remove use of NDEBUG in dll.h
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
|