aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/file
diff options
context:
space:
mode:
authorGravatar Fabio Bas2013-06-20 06:22:16 +0000
committerGravatar Fabio Bas2013-06-20 06:22:16 +0000
commitd0fcd95e85e08c12c2ef0dd9d044b68ce617f1ac (patch)
treeffdc68b673e586835b07ffe6ef18db2ae4ecf427 /src/modules/file
parentavoid openssl deprecation under osx (diff)
downloadKVIrc-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
Diffstat (limited to 'src/modules/file')
-rw-r--r--src/modules/file/libkvifile.cpp8
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