diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-23 09:09:50 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-23 09:09:50 -0400 |
commit | 809a3cbb7497c4a72873cee5c72725c3ff61bf0d (patch) | |
tree | 8be3ffe4246f4d51752b103e5f34ea16b3e28e77 /dll.h | |
parent | bdb7ea3bf09a6fc7f9b28f727319a9d9178ab57c (diff) | |
download | cryptopp-git-809a3cbb7497c4a72873cee5c72725c3ff61bf0d.tar.gz |
Cleared unknown pragma warning under MinGW
Diffstat (limited to 'dll.h')
-rw-r--r-- | dll.h | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -39,18 +39,20 @@ #ifdef CRYPTOPP_IMPORTS -#ifdef _DLL +#if defined(_MSC_VER) && defined(_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") -#else -#pragma comment(lib, "msvcrtd") -#endif -#endif +# ifdef NDEBUG +# pragma comment(lib, "msvcrt") +# else +# pragma comment(lib, "msvcrtd") +# endif // NDEBUG +#endif // _MSC_VER and _DLL -#pragma comment(lib, "cryptopp") +#if defined(_MSC_VER) +# pragma comment(lib, "cryptopp") +#endif -#endif // #ifdef CRYPTOPP_IMPORTS +#endif // #ifdef CRYPTOPP_IMPORTS #include <new> // for new_handler |