summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2013-07-06 19:50:54 -0700
committerAlan Antonuk <alan.antonuk@gmail.com>2013-07-06 19:50:54 -0700
commitb6a1dfec14e70fc6afe8ce9710231e552ba6bfb5 (patch)
treeab074bbf3f135821acef85d4ade344a368f5dc17
parent45dbc34b0e150d0dca2c6c0aa676a2053622c7a2 (diff)
downloadrabbitmq-c-github-ask-b6a1dfec14e70fc6afe8ce9710231e552ba6bfb5.tar.gz
Squash OpenSSL deprecated warnings on MacOSX 10.7+
-rw-r--r--librabbitmq/amqp_openssl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/librabbitmq/amqp_openssl.c b/librabbitmq/amqp_openssl.c
index f3cf379..2bd4fda 100644
--- a/librabbitmq/amqp_openssl.c
+++ b/librabbitmq/amqp_openssl.c
@@ -25,6 +25,10 @@
#include "config.h"
#endif
+#if defined(__APPLE__) && defined(__MACH__)
+# define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_6
+#endif
+
#include "amqp_ssl_socket.h"
#include "amqp_socket.h"
#include "amqp_private.h"