obs-outputs: Fix undefined MSG_NOSIGNAL

Define MSG_NOSIGNAL even if CRYPTO is not defined.
This commit is contained in:
James Park 2019-05-09 21:56:14 -07:00 committed by jp9000
parent e9185f462a
commit 2ff9cf17c0

View File

@ -34,16 +34,16 @@
#include <util/platform.h>
#if !defined(MSG_NOSIGNAL)
#define MSG_NOSIGNAL 0
#endif
#ifdef CRYPTO
#ifdef __APPLE__
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
#if !defined(MSG_NOSIGNAL)
#define MSG_NOSIGNAL 0
#endif
#if defined(USE_MBEDTLS)
#if defined(_WIN32)
#include <windows.h>