osx: Silence openssl deprecated warnings

This commit is contained in:
TingPing
2014-01-29 12:16:36 -05:00
parent e962039f83
commit 6487e1b391
4 changed files with 22 additions and 0 deletions

View File

@@ -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>