summary refs log tree commit diff stats
path: root/plugins/checksum/checksum.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-01-29 12:16:36 -0500
committerTingPing <tingping@tingping.se>2014-01-29 12:16:36 -0500
commit6487e1b39130661afb0098e11fc1384340bc6fa7 (patch)
tree7e0b40b5cc4a688725cb35e5210afaa87071e2a3 /plugins/checksum/checksum.c
parente962039f8362a69917778ef056c7de8dfdccb8e4 (diff)
osx: Silence openssl deprecated warnings
Diffstat (limited to 'plugins/checksum/checksum.c')
-rw-r--r--plugins/checksum/checksum.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/checksum/checksum.c b/plugins/checksum/checksum.c
index a4cadc19..6ace8543 100644
--- a/plugins/checksum/checksum.c
+++ b/plugins/checksum/checksum.c
@@ -20,6 +20,11 @@
  * THE SOFTWARE.
  */
 
+#ifdef __APPLE__
+#define __AVAILABILITYMACROS__
+#define DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
+#endif
+
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>