mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-22 09:12:22 -05:00
osx: Silence openssl deprecated warnings
This commit is contained in:
parent
e962039f83
commit
6487e1b391
@ -20,6 +20,11 @@
|
|||||||
* THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#define __AVAILABILITYMACROS__
|
||||||
|
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -22,6 +22,11 @@
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#define __AVAILABILITYMACROS__
|
||||||
|
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <openssl/blowfish.h>
|
#include <openssl/blowfish.h>
|
||||||
|
@ -31,6 +31,13 @@
|
|||||||
#ifndef HEXCHAT_H
|
#ifndef HEXCHAT_H
|
||||||
#define HEXCHAT_H
|
#define HEXCHAT_H
|
||||||
|
|
||||||
|
#ifdef USE_OPENSSL
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#define __AVAILABILITYMACROS__
|
||||||
|
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "history.h"
|
#include "history.h"
|
||||||
|
|
||||||
#ifndef HAVE_SNPRINTF
|
#ifndef HAVE_SNPRINTF
|
||||||
|
@ -17,6 +17,11 @@
|
|||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#define __AVAILABILITYMACROS__
|
||||||
|
#define DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "inet.h" /* make it first to avoid macro redefinitions */
|
#include "inet.h" /* make it first to avoid macro redefinitions */
|
||||||
#include <openssl/ssl.h> /* SSL_() */
|
#include <openssl/ssl.h> /* SSL_() */
|
||||||
#include <openssl/err.h> /* ERR_() */
|
#include <openssl/err.h> /* ERR_() */
|
||||||
|
Loading…
Reference in New Issue
Block a user