summaryrefslogtreecommitdiff
path: root/dll.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-17 14:40:23 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-17 14:40:23 -0400
commitdc09f7446c62c3cc819cc85b7d0f04e8acb0c0cf (patch)
tree9e848d7765b45680a5eb7ca92c9c8a29fd07043f /dll.h
parenteb107a6d6ff62e06185fe711e670ec778e4c0584 (diff)
downloadcryptopp-git-dc09f7446c62c3cc819cc85b7d0f04e8acb0c0cf.tar.gz
Remove use of NDEBUG in dll.h
Diffstat (limited to 'dll.h')
-rw-r--r--dll.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/dll.h b/dll.h
index 3f103fda..3fd4b083 100644
--- a/dll.h
+++ b/dll.h
@@ -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