mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-29 00:26:14 -04:00
obs-outputs: Add WIN32_LEAN_AND_MEAN to avoid symbol clash
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
******************************************************************************/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
#include <obs.h>
|
||||
#include <stdio.h>
|
||||
#include <util/dstr.h>
|
||||
|
||||
@@ -15,6 +15,10 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
******************************************************************************/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
#include <obs-module.h>
|
||||
#include <obs-avc.h>
|
||||
#include <util/platform.h>
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
#ifdef _MSC_VER
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
#include <obs-module.h>
|
||||
|
||||
#include "obs-outputs-config.h"
|
||||
|
||||
@@ -15,6 +15,10 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
******************************************************************************/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
#include "rtmp-stream.h"
|
||||
|
||||
#ifndef SEC_TO_NSEC
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
#ifdef _MSC_VER
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "rtmp-stream.h"
|
||||
#include <winsock2.h>
|
||||
|
||||
Reference in New Issue
Block a user