1
0
Эх сурвалжийг харах

obs-outputs: Fix undefined MSG_NOSIGNAL

Define MSG_NOSIGNAL even if CRYPTO is not defined.
James Park 6 жил өмнө
parent
commit
2ff9cf17c0

+ 4 - 4
plugins/obs-outputs/librtmp/rtmp.c

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