diff options
| author | 2013-06-20 06:22:16 +0000 | |
|---|---|---|
| committer | 2013-06-20 06:22:16 +0000 | |
| commit | d0fcd95e85e08c12c2ef0dd9d044b68ce617f1ac (patch) | |
| tree | ffdc68b673e586835b07ffe6ef18db2ae4ecf427 | |
| parent | avoid openssl deprecation under osx (diff) | |
| download | KVIrc-d0fcd95e85e08c12c2ef0dd9d044b68ce617f1ac.tar.gz KVIrc-d0fcd95e85e08c12c2ef0dd9d044b68ce617f1ac.tar.bz2 KVIrc-d0fcd95e85e08c12c2ef0dd9d044b68ce617f1ac.zip | |
more avoid openssl deprecation under osx
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6342 17fca916-40b9-46aa-a4ea-0a15b648b75c
| -rw-r--r-- | src/modules/file/libkvifile.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modules/file/libkvifile.cpp b/src/modules/file/libkvifile.cpp index e2e5735a2..cd65a2240 100644 --- a/src/modules/file/libkvifile.cpp +++ b/src/modules/file/libkvifile.cpp @@ -47,6 +47,14 @@ #if defined(COMPILE_SSL_SUPPORT) + + // Apple deprecated openssl since osx 10.7: + + #ifdef DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER + #undef DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER + #define DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER + #endif + #include <openssl/evp.h> #else // The fallback we can always use, but with very limited set of |
